benjcunningham / googlecalendar

Easily access and modify calendars, events, and UI settings via the Google Calendar API
Other
12 stars 6 forks source link

Possible change in how API returns offset times #16

Open benjcunningham opened 8 years ago

benjcunningham commented 8 years ago

Seems like the API is behaving differently...

Specifically in test-events.R, we use gc_event_edit to replace a YYYY-MM-DDTHH:MM:SSZ-formatted dateTime with a YYYY-MM-DDTHH:MM:SS-HH:MM one. Note the change in how we specify time zone offsets.

This was working before, but now the build is failing because the event object returned from the function gets offset by -HH:MM, but gets formatted with the Z instead.

Have not found any Google documentation on a change yet, though.

benjcunningham commented 8 years ago

This might not have been an API change after all; e400b41 (which pushed a few things that should have been in the failing build) seems to have things sorted out again without anything that directly addresses this issue. Need to write some more tests, but the real problem might just be a my misunderstanding of how dateTime offsets and timeZones interact with one another inside the service.