Google Free Busy 不返回 7:00 下午后存在的事件
Google Free Busy is not returning the events which are existing after 7:00 pm
在 google 日历中从 24 日 06:00 下午到 25 日 5:00 下午
创建了一个活动
查询 Free Busy 时它没有返回实际的插槽
有人建议我们如何解决这个问题
这里的问题似乎源于您为请求提供的 timeMin
和 timeMax
参数。
您日历的时区是 GMT-06:00
,但是请求中的 timeMin
和 timeMax
设置为 GMT
因此您收到的结果。
您应该做的是将 timeMin
和 timeMax
更改为:
"timeMin": "2021-10-24T00:00:00-06:00",
"timeMax": "2021-10-25T23:29:00-06:00"
请记住,timezone
参数用于指示在响应中使用的时区。
参考
在 google 日历中从 24 日 06:00 下午到 25 日 5:00 下午
创建了一个活动查询 Free Busy 时它没有返回实际的插槽
有人建议我们如何解决这个问题
这里的问题似乎源于您为请求提供的 timeMin
和 timeMax
参数。
您日历的时区是 GMT-06:00
,但是请求中的 timeMin
和 timeMax
设置为 GMT
因此您收到的结果。
您应该做的是将 timeMin
和 timeMax
更改为:
"timeMin": "2021-10-24T00:00:00-06:00",
"timeMax": "2021-10-25T23:29:00-06:00"
请记住,timezone
参数用于指示在响应中使用的时区。