我们有 2 个 Google 日历事件获取 API 请求。
为什么?第二个请求给了我们错误的请求,为什么第一个请求没有?Google 日历仅采用 IST 时区。
首先
https://www.googleapis.com/calendar/v3/calendars/primary/events?
timeMin=2019-07-27T14:30:00-0400&timeMax=2019-09-07T14:29:59-
0400&timeZone=America/New_York
第二,
https://www.googleapis.com/calendar/v3/calendars/primary/events?
timeMin=2019-07-28T00:00:00+0530&timeMax=2019-09-
07T01:59:59+0530&timeZone=Asia/Calcutta
第一个请求输出是 - 200 status ok。
它提供第二个请求 400 状态的输出
他们有什么错吗?请纠正我们
最佳答案
我认为您在加尔各答的拼写中有一个拼写错误。 尝试使用“亚洲/加尔各答”
关于java - 为什么谷歌日历事件 API 不支持 IST 时区?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57671383/