mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 20:42:21 +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
Notes:
sideshowbarker
2024-07-17 07:31:31 +09:00
Author: https://github.com/Lubrsi
Commit: b26b18a0bc
Pull-request: https://github.com/SerenityOS/serenity/pull/15893
Reviewed-by: https://github.com/linusg ✅
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