Implement Extended TimeZoneName Options for Intl.DateTimeFormat
Categories
(Core :: JavaScript: Internationalization API, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox91 | --- | fixed |
People
(Reporter: yulia, Assigned: anba)
References
(Blocks 1 open bug, )
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
See proposal: https://github.com/tc39/proposal-intl-extend-timezonename/
Currently stage 2.
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Implement the proposal from https://github.com/tc39/proposal-intl-extend-timezonename.
Also includes some basic tests to cover the four new options.
Updated•1 year ago
|
Reporter | ||
Updated•1 year ago
|
Pushed by andre.bargull@gmail.com: https://hg.mozilla.org/integration/autoland/rev/1dc0676764f0 Implement "Extended TimeZoneName Options for Intl.DateTimeFormat" proposal. r=yulia
Comment 3•1 year ago
|
||
bugherder |
Comment 4•1 year ago
|
||
Hi, I'm documenting this for FF91. The docs part is here: https://github.com/mdn/content/pull/6853. I still need to add browser compatibility information (all docs work can be tracked in https://github.com/mdn/content/issues/6710)
A question, in the proposal it refers to "localised" and "generic non-local forms". I know what localised means, but what does "non-local" mean?
Assignee | ||
Comment 5•1 year ago
|
||
That term stems from https://unicode.org/reports/tr35/tr35-dates.html#dfst-zone, which has definitions for:
- specific non-location format
- generic non-location format
- generic location format.
So "non-location" simply refers to not using the name of the time zone identifier's location. For example "Pacific Time" for the time zone "America/Los_Angeles" instead of using "Los Angeles Time".
Comment 6•1 year ago
|
||
Thank you. That was my assumption but I was confused because if you do timezone America/Los_Angeles for German then the shortGeneric is Los Angeles Zeit
on FF91. That link is helpful because it shows that there are fallbacks that are location based. Thanks!
Comment 7•1 year ago
|
||
FYI FF91 docs work is still waiting on browser compatibility update to complete but is otherwise good. If interested see docs PR and this release note PR.
Updated•1 year ago
|
Updated•7 months ago
|
Description
•