diff options
author | Linus Groh <mail@linusgroh.de> | 2021-07-31 22:21:53 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-08-01 10:24:38 +0100 |
commit | e511390423c07fbf74b35d8caad9d833dfed650d (patch) | |
tree | 7ade45ecffef28f74f40b3a7606d523e8bc4ebe4 /Userland/Libraries/LibJS/Runtime/Temporal/Now.cpp | |
parent | c4123d8aadc467afe7238b8102abe6ebf25b29a0 (diff) | |
download | serenity-e511390423c07fbf74b35d8caad9d833dfed650d.zip |
LibJS: Implement Temporal.TimeZone.prototype.getPlainDateTimeFor()
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/Now.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Temporal/Now.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |