Timezone list and guess time zone feature
See original GitHub issueIs there a feature or a plugin through we can get the list of time zones e.g.
in moment-timezone we can get the list of time zones from
momentTz.tz.names()
Also can we guess the timezone using dayjs ?
momentTz.tz.guess()
Are these features available currently in dayjs or are there workarounds to get them without using momentTz.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:20 (4 by maintainers)
Top Results From Across the Web
Moment Timezone | Docs
To get a list of time zones for some country, use moment.tz.zonesForCountry() . moment.tz.zonesForCountry('US');. By default this method returns zone names ...
Read more >How to get list of all timezones in javascript - Stack Overflow
The list of time zones is grouped to reduce the number of time zones. We do grouping only when: same country AND same...
Read more >It's Time We Addressed Time-Zone Selectors
A search feature allows users to search by items appearing in the list. An open timezone selector dropdown displays timezones ordered by GMT ......
Read more >Timezone list and guess time zone feature #695 - Issuehunt
Is there a feature or a plugin through we can get the list of time zones e.g. in moment-timezone we can get the...
Read more >Guessing user zone
Guessing user zone. Return the user's time zone. This dependent on Timezone plugin to work. dayjs.extend(utc) dayjs.extend(timezone) dayjs.tz.guess() ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Is there a way to list all timezones?
The timezone plugin looks great so far. I’m wondering if there is a way to list all timezones yet?
I’m thinking of something like dayjs.tz.names()