mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 23:25:20 +00:00
LibJS+LibUnicode: Port retrieving the system time zone to ICU
This commit is contained in:
committed by
Andreas Kling
parent
89aa9a3af0
commit
d3e809bcd4
@@ -197,7 +197,7 @@ ThrowCompletionOr<NonnullGCPtr<DateTimeFormat>> create_date_time_format(VM& vm,
|
||||
// 30. If timeZone is undefined, then
|
||||
if (time_zone_value.is_undefined()) {
|
||||
// a. Set timeZone to DefaultTimeZone().
|
||||
time_zone = MUST(String::from_utf8(system_time_zone_identifier()));
|
||||
time_zone = system_time_zone_identifier();
|
||||
}
|
||||
// 31. Else,
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user