Closed
Bug 1591664
Opened 5 years ago
Closed 5 years ago
Enable the relatedYear field in Intl.DateTimeFormat.prototype.formatToParts output
Categories
(Core :: JavaScript: Internationalization API, enhancement)
Core
JavaScript: Internationalization API
Tracking
()
RESOLVED
FIXED
mozilla73
Tracking | Status | |
---|---|---|
firefox73 | --- | fixed |
People
(Reporter: Waldo, Assigned: anba)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
We implemented this in bug 1573439, but it's restricted to nightlies for now because it hasn't been merged into the main spec yet. At some point that'll change and we should flip this on. (And enable the one test that will shortly be conditioned on nightly-ness.)
Reporter | ||
Comment 1•5 years ago
|
||
The conditioned-on-nightly test is being conditioned in bug 1591386.
Assignee | ||
Comment 2•5 years ago
|
||
This includes adjusting the date-time format pattern selection to take the
calendar type into account.
Updated•5 years ago
|
Assignee: nobody → andrebargull
Pushed by nerli@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/20110a4d9ae0
Remove Nightly-only restriction for DateTimeFormat's relatedYear output. r=jwalden
Comment 4•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox73:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
Updated•5 years ago
|
Keywords: dev-doc-needed
Comment 5•5 years ago
|
||
This was documented for Firefox 73:
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/73#JavaScript
Reference documentation:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat/formatToParts#Named_Years_and_Mixed_calendars
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•