mirror of https://github.com/tc39/test262.git
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…
Reference in New Issue