From e511390423c07fbf74b35d8caad9d833dfed650d Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sat, 31 Jul 2021 22:21:53 +0100 Subject: LibJS: Implement Temporal.TimeZone.prototype.getPlainDateTimeFor() --- Userland/Libraries/LibJS/Runtime/Temporal/Now.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/Now.cpp') diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/Now.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/Now.cpp index d1057f04bf..c4bd119d81 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/Now.cpp +++ b/Userland/Libraries/LibJS/Runtime/Temporal/Now.cpp @@ -196,7 +196,7 @@ PlainDateTime* system_date_time(GlobalObject& global_object, Value temporal_time auto* instant = system_instant(global_object); // 5. Return ? BuiltinTimeZoneGetPlainDateTimeFor(timeZone, instant, calendar). - return builtin_time_zone_get_plain_date_time_for(global_object, *time_zone, *instant, *calendar); + return builtin_time_zone_get_plain_date_time_for(global_object, time_zone, *instant, *calendar); } } -- cgit v1.2.3