Closed Bug 1573439 Opened 5 years ago Closed 5 years ago

Allow calendar to determine choice of pattern and permit relatedYear and yearName in formatToParts

Categories

(Core :: JavaScript: Internationalization API, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox70 --- wontfix
firefox71 --- fixed

People

(Reporter: anba, Assigned: anba)

Details

Attachments

(2 files)

Spec PRs:

Both changes should be applied at once, because https://github.com/tc39/ecma402/pull/351 alone doesn't lead to any changes, whereas applying only https://github.com/tc39/ecma402/pull/349 will lead to emitting "related year" and "year name" as "unknown" in formatToParts.

Implements the changes for these two spec PRs:

Restricted to Nightly because both PRs, despite having concensus, aren't yet merged into the spec.

Pushed by rmaries@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/abdfed2d3b35
Part 1: Allow calendar to determine choice of pattern and permit relatedYear and yearName. r=jwalden
https://hg.mozilla.org/integration/autoland/rev/ad73915c34c9
Part 2: Update DateTimeFormat formatToParts tests to use common test helpers. r=jwalden

Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: