Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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_York
in 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 CreditAttribution: rbroberts commentedI confess this is puzzling. If I go to Google's test site
https://developers.google.com/google-apps/calendar/v3/reference/events/list
and 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 CreditAttribution: 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.