Closed Bug 1590552 Opened 5 years ago Closed 5 years ago

Two tests using DateTimeFormat.prototype.formatToParts fail

Categories

(Core :: JavaScript: Internationalization API, task)

task
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jorendorff, Unassigned)

References

(Blocks 1 open bug)

Details

  • test262/intl402/DateTimeFormat/prototype/formatToParts/pattern-on-calendar.js
    This tests that DateTimeFormats for locales with different calendars produces different patterns.

  • test262/intl402/DateTimeFormat/prototype/formatToParts/related-year.js
    This tests that a DateTimeFormat for the en-u-ca-chinese locale has parts of type "relatedYear" and "yearName".

I'm filing a single bug for these because both failures could be explained by a single bug in the DateTimeFormat constructor's treatment of calendars.

These tests should pass in a recent build (bug 1573439), but need to be restricted to nightly-only.

Flags: needinfo?(jorendorff)

Yep.

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(jorendorff)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.