mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:47:44 +00:00
LibJS: Handle Etc/GMT timezones properly in TimeZone{IANA,Bracketed}Name
This is a normative change in the Temporal spec.
See: 8c73780
This commit is contained in:
parent
b5392f9e39
commit
b020b8eea2
3 changed files with 48 additions and 11 deletions
|
@ -18,9 +18,10 @@ describe("normal behavior", () => {
|
|||
["GMT", "UTC"],
|
||||
["Etc/UTC", "UTC"],
|
||||
["Etc/GMT", "UTC"],
|
||||
// FIXME: https://github.com/tc39/proposal-temporal/issues/1993
|
||||
// ["Etc/GMT+12", "Etc/GMT+12"],
|
||||
// ["Etc/GMT-12", "Etc/GMT-12"],
|
||||
["Etc/GMT+6", "Etc/GMT+6"],
|
||||
["Etc/GMT-6", "Etc/GMT-6"],
|
||||
["Etc/GMT+12", "Etc/GMT+12"],
|
||||
["Etc/GMT-12", "Etc/GMT-12"],
|
||||
["Europe/London", "Europe/London"],
|
||||
["Europe/Isle_of_Man", "Europe/London"],
|
||||
["1970-01-01+01", "+01:00"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue