mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 09:47:35 +00:00
LibJS: Allow formatting UTC-offset time zones with Intl.DateTimeFormat
These are normative changes in the ECMA-402 spec. See:896ffcc
af4ec46
e25c455
(This combines the above commits into one patch as they each do not work on their own).
This commit is contained in:
parent
f31540e419
commit
39be5cb73a
7 changed files with 123 additions and 42 deletions
|
@ -460,7 +460,6 @@ Vector<TimeZoneIdentifier> available_named_time_zone_identifiers()
|
|||
}
|
||||
|
||||
// 21.4.1.24 SystemTimeZoneIdentifier ( ), https://tc39.es/ecma262/#sec-systemtimezoneidentifier
|
||||
// 6.4.3 DefaultTimeZone ( ), https://tc39.es/ecma402/#sup-defaulttimezone
|
||||
StringView system_time_zone_identifier()
|
||||
{
|
||||
return TimeZone::current_time_zone();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue