Closed Bug 1937553 Opened 2 months ago Closed 2 months ago

Implement Time zone canonicalization for Temporal

Categories

(Core :: JavaScript: Standard Library, task, P2)

task

Tracking

()

RESOLVED FIXED
135 Branch
Tracking Status
firefox135 --- fixed

People

(Reporter: anba, Assigned: anba)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Implement the time zone canonicalization changes for Temporal.

Does not change Intl.DateTimeFormat.prototype.resolvedOptions because it's still unclear if it's web-compatible (https://github.com/tc39/proposal-canonical-tz/issues/2).

Store both the input time zone and canonical (primary) time zone identifier in
separate slots to implement the time zone canonicalization proposal changes for
Temporal.

Add generated tests to cover all supported time zones and enable now
passing test262 tests.

Severity: -- → N/A
Priority: -- → P2
Pushed by andre.bargull@gmail.com: https://hg.mozilla.org/integration/autoland/rev/485d7454d7ca Part 1: Implement time zone canonicalization proposal for Temporal. r=spidermonkey-reviewers,mgaudet https://hg.mozilla.org/integration/autoland/rev/83059223cdb0 Part 2: Add tests. r=spidermonkey-reviewers,mgaudet

Backed out for causing build bustages @ DateTimeFormat.cpp

/builds/worker/checkouts/gecko/js/src/builtin/intl/DateTimeFormat.cpp(2824,12): error: use of undeclared identifier 'ZonedDateTimeObject'
Flags: needinfo?(andrebargull)
Flags: needinfo?(andrebargull)
Pushed by andre.bargull@gmail.com: https://hg.mozilla.org/integration/autoland/rev/c38f28ec5519 Part 1: Implement time zone canonicalization proposal for Temporal. r=spidermonkey-reviewers,mgaudet https://hg.mozilla.org/integration/autoland/rev/d236186e8a10 Part 2: Add tests. r=spidermonkey-reviewers,mgaudet
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: