mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
add back UTC timezone
This commit is contained in:
parent
2808c07dc5
commit
f801aa9468
@ -19,6 +19,14 @@ assert.throws(RangeError, () => Temporal.Now.plainDateTimeISO({ timeZone }), "ba
|
||||
"2021-08-19T1730-07:00",
|
||||
"2021-08-19T17:30-0700",
|
||||
"2021-08-19T1730-0700",
|
||||
"2021-08-19T17:30[UTC]",
|
||||
"2021-08-19T1730[UTC]",
|
||||
"2021-08-19T17:30Z[UTC]",
|
||||
"2021-08-19T1730Z[UTC]",
|
||||
"2021-08-19T17:30-07:00[UTC]",
|
||||
"2021-08-19T1730-07:00[UTC]",
|
||||
"2021-08-19T17:30-0700[UTC]",
|
||||
"2021-08-19T1730-0700[UTC]",
|
||||
].forEach((timeZone) => {
|
||||
Temporal.Now.plainDateTimeISO(timeZone);
|
||||
Temporal.Now.plainDateTimeISO({ timeZone });
|
||||
|
Loading…
x
Reference in New Issue
Block a user