1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:37:45 +00:00

LibJS: Support IANA legacy names in the Temporal ISO 8601 grammar

This is a normative change in the Temporal spec.

See: 2419680
This commit is contained in:
Linus Groh 2022-07-30 11:00:08 +02:00
parent 41791146fd
commit 6850f25840
3 changed files with 30 additions and 0 deletions

View file

@ -18,6 +18,9 @@ describe("normal behavior", () => {
["GMT", "UTC"],
["Etc/UTC", "UTC"],
["Etc/GMT", "UTC"],
["Etc/GMT0", "UTC"], // IANA legacy name
["Etc/GMT+0", "UTC"], // IANA legacy name
["Etc/GMT-0", "UTC"], // IANA legacy name
["Etc/GMT+6", "Etc/GMT+6"],
["Etc/GMT-6", "Etc/GMT-6"],
["Etc/GMT+12", "Etc/GMT+12"],