mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +00:00
LibJS: Remove Temporal::DefaultTimeZone
This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/e232580
This commit is contained in:
committed by
Linus Groh
parent
735e1c4e20
commit
d992cba014
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <LibJS/Runtime/AbstractOperations.h>
|
||||
#include <LibJS/Runtime/Array.h>
|
||||
#include <LibJS/Runtime/Date.h>
|
||||
#include <LibJS/Runtime/GlobalObject.h>
|
||||
#include <LibJS/Runtime/Intl/AbstractOperations.h>
|
||||
#include <LibJS/Runtime/Intl/DateTimeFormat.h>
|
||||
@@ -216,7 +217,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().
|
||||
time_zone = Temporal::default_time_zone();
|
||||
time_zone = default_time_zone();
|
||||
}
|
||||
// 31. Else,
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user