Where can I find a list of Local with the full country code(Bonus for including the timezone)? #3282
-
Hi, I'm not the most familiar with timezone and country code. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I don't know why it didn't get accepted, but PR #2838 was meant to add a dedicated page in the docs for this. It's a bit outdated now, but you can preview the Markdown output of the PR here: https://github.com/date-fns/date-fns/blob/af38b9eb940cdceae62e8742fd67161b47740bde/docs/i18nLocales.md Time zones and locales are distinct things.
And time zones in the JavaScript runtimes and Hope that helps! |
Beta Was this translation helpful? Give feedback.
I don't know why it didn't get accepted, but PR #2838 was meant to add a dedicated page in the docs for this.
It's a bit outdated now, but you can preview the Markdown output of the PR here: https://github.com/date-fns/date-fns/blob/af38b9eb940cdceae62e8742fd67161b47740bde/docs/i18nLocales.md
Time zones and locales are distinct things.
date-fns
uses the Unicode CLDR as a reference for localeshttps://en.wikipedia.org/wiki/Common_Locale_Data_Repository
And time zones in the JavaScript runtimes and
Intl
are based on the IANA time zone databasehttps://www.iana.org/time-zones
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
Hope that helps!