Which definition is used for "time_zone" of Schedules API ?
In Schedules API, "time_zone" has data like "London", "Hawaii", "Osaka".
The names are not in the database of timezone, https://www.iana.org/time-zones .
How can we found the definition of these time_zone?
Schedules API
https://developer.zendesk.com/api-reference/ticketing/ticket-management/schedules/#json-format
-
You can get the full list in the dropdown "Time zone" when you try to add a new Schedule inm Admin Center. The url access should be like:
https://<your_domain>.zendesk.com/admin/objects-rules/rules/schedules.
Yoi can inspect the website and locate in the html code all the values. All of them are GMT related.
-
Thank you for the comment.
Do you know where the dropdown list comes from? I guess the list is from TimeZone friendly name of Ruby on Rails, https://api.rubyonrails.org/classes/ActiveSupport/TimeZone.html , but I am not sure. I mean I'd like to know when or how often the list is renewed.
-
Hey Megumi,
I can verify that your assumption is correct, we pull this list from the TimeZone class of RoR.
Thanks!
-
Thanks Eric!
Por favor, entrar para comentar.
4 Comentários