mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 20:17:13 +02:00
LibJS: Remove infallibility marker from DefaultTimeZone invocation
This is an editorial change to the ECMA-402 spec. See: https://github.com/tc39/ecma402/commit/46aa5cc Also add an ECMA-402 spec link to the DefaultTimeZone implementation, as that definition supersedes ECMA-262.
This commit is contained in:
committed by
Linus Groh
parent
d66b219453
commit
9a9025dea0
Notes:
sideshowbarker
2024-07-17 12:02:22 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/9a9025dea0 Pull-request: https://github.com/SerenityOS/serenity/pull/15945
@@ -216,7 +216,7 @@ ThrowCompletionOr<DateTimeFormat*> initialize_date_time_format(VM& vm, DateTimeF
|
||||
|
||||
// 30. If timeZone is undefined, then
|
||||
if (time_zone_value.is_undefined()) {
|
||||
// a. Set timeZone to ! DefaultTimeZone().
|
||||
// a. Set timeZone to DefaultTimeZone().
|
||||
time_zone = default_time_zone();
|
||||
}
|
||||
// 31. Else,
|
||||
|
||||
Reference in New Issue
Block a user