Active
Project:
Agenda
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2017 at 14:06 UTC
Updated:
8 Nov 2017 at 03:10 UTC
Jump to comment: Most recent
This seems like it has to be a configuration issue on my part but if so I can't find it.
I've loaded both the Google sunrise calendar for New York, and the moon phases calendar. Both show times 5 hours later than they should be. My site is configured to use America/New_York as is my account. Since it is now standard time my zone is UTC-5 so the times I'm seeing are UTC.
I'm guessing that Google is seeing those times and Agenda and Google aren't sharing TZ information.
Can this be fixed via configuration?
Roland
Comments
Comment #2
rbroberts commentedInteresting. I'm going to say this is a Google issue. Or maybe the library isn't passing the timezone correctly. I see
&timeZone=America%2FNew_Yorkin the GET request, but what comes back comes like this
So it really looks to me like that TZ in the request is being ignored. I'll poke around a bit, but now I'm wondering if any of the times coming back into my agenda are really "correct" or if it's just because they're in the same TZ as my request already.
Comment #3
rbroberts commentedI confess this is puzzling. If I go to Google's test site
https://developers.google.com/google-apps/calendar/v3/reference/events/listand put in the same parameters, it shows me the correct data and timezone. But...it doesn't work when I put together the URL myself, or the way Agenda is doing it. That's confusing....
Comment #4
rbroberts commentedNo idea what Google is doing for this. But the Google test site actually just passes the TZ through. If I put some other TZ, like America/Los_Angeles, it's not actually converting it, it's just setting the &ctz= parameter on the htmlLink.