mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:27:43 +00:00
LibJS: Add timeZoneName: "critical" option to ZonedDateTime.toString()
This is a normative change in the Temporal spec.
See: d84937f
This commit is contained in:
parent
4a167cfbec
commit
b26b18a0bc
3 changed files with 8 additions and 4 deletions
|
@ -72,6 +72,7 @@ describe("correct behavior", () => {
|
|||
const values = [
|
||||
["auto", "2021-11-03T01:33:05.1002003+00:00[UTC]"],
|
||||
["never", "2021-11-03T01:33:05.1002003+00:00"],
|
||||
["critical", "2021-11-03T01:33:05.1002003+00:00[!UTC]"],
|
||||
];
|
||||
|
||||
for (const [timeZoneName, expected] of values) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue