mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +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:
parent
d66b219453
commit
9a9025dea0
Notes:
sideshowbarker
2024-07-17 12:02:22 +09:00
Author: https://github.com/trflynn89
Commit: 9a9025dea0
Pull-request: https://github.com/SerenityOS/serenity/pull/15945
2 changed files with 2 additions and 1 deletions
|
@ -364,6 +364,7 @@ i64 get_named_time_zone_offset_nanoseconds(StringView time_zone_identifier, Cryp
|
|||
}
|
||||
|
||||
// 21.4.1.10 DefaultTimeZone ( ), https://tc39.es/ecma262/#sec-defaulttimezone
|
||||
// 6.4.3 DefaultTimeZone ( ), https://tc39.es/ecma402/#sup-defaulttimezone
|
||||
StringView default_time_zone()
|
||||
{
|
||||
return TimeZone::current_time_zone();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue