I'm working with Google's Calendar API, and I'm running into a bit of an issue. When I set the dateTime of an event I insert, I'm required to set the hour offset, but because o DST, it's off an hour. There is a property I can set for the calendar to set the timezone by name, which I would think would fix my problem, because Google would figure out the correct hour offset. However I do not know all of them, nor can I find a place that lists them. For example "America/Los_Angeles" or "Europe/Zurich". Anybody know where I can find them?
相关问题
- Is service account in google calendar api v3 the r
- Insert event into google calendar with php
- Get meeting link with Google calendar api
- gdata Unknown authorization header - started 12/11
- Impersonate user with google calendar API oauth2 s
相关文章
- Google Calendar - Permission to Access
- Is there direct API for Google Meet?
- Adding a google calendar event in swift
- Android giving IOException with 'unable to cre
- Insert event to google calendar nodejs
- Google Calendar API algorithm to find open time sl
- Link to add ics to Google Calendar stopped working
- How to correctly obtain user's Calendar events
I think I have found the list that I was looking for on this website:
http://www.timezoneconverter.com/
Here is what I ended up needing:
America/New_York
America/Chicago
America/Denver
America/Los_Angeles
Specifically it was on this page
Comprehensive list of timezone names in JSON format
I grabbed from moment-timezone but these are based on ISO standards. Here is another example source from wikipedia: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones as well for cross reference.