VIJAY
VIJAY

Reputation: 849

Google Free Busy is not returning the events which are existing after 7:00 pm

Created an event in google calendar from 24th 06:00 pm to 25th 5:00 pm

enter image description here

When querying the Free Busy it's not returning actual slots

enter image description here

Some one suggest US how to fix this issue

Upvotes: 0

Views: 359

Answers (1)

ale13
ale13

Reputation: 6052

Seems like the issue here stems from the timeMin and timeMax parameters you have supplied for the request.

The timezone of your calendar is GMT-06:00 but timeMin and timeMax from the request are set for GMT hence the results you are receiving.

What you should do is to change the timeMin and timeMax to:

"timeMin": "2021-10-24T00:00:00-06:00",
"timeMax": "2021-10-25T23:29:00-06:00"

Please bear in mind that the timezone parameter is used to indicate the time zone used in the response.

Reference

Upvotes: 1

Related Questions