1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:57:43 +00:00

LibJS: Remove infallibility marker from DefaultTimeZone invocation

This is an editorial change to the ECMA-402 spec. See:
46aa5cc

Also add an ECMA-402 spec link to the DefaultTimeZone implementation, as
that definition supersedes ECMA-262.
This commit is contained in:
Timothy Flynn 2022-11-05 11:36:42 -04:00 committed by Linus Groh
parent d66b219453
commit 9a9025dea0
2 changed files with 2 additions and 1 deletions

View file

@ -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,