1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 21:07:36 +00:00

LibJS: Implement Temporal.ZonedDateTime.prototype.offset

This commit is contained in:
Linus Groh 2021-08-04 23:18:19 +01:00 committed by Andreas Kling
parent f937e9b966
commit 6c345c8107
6 changed files with 45 additions and 2 deletions

View file

@ -416,7 +416,7 @@ double get_offset_nanoseconds_for(GlobalObject& global_object, Value time_zone,
}
// 11.6.12 BuiltinTimeZoneGetOffsetStringFor ( timeZone, instant )
Optional<String> builtin_time_zone_get_offset_string_for(GlobalObject& global_object, TimeZone& time_zone, Instant& instant)
Optional<String> builtin_time_zone_get_offset_string_for(GlobalObject& global_object, Object& time_zone, Instant& instant)
{
auto& vm = global_object.vm();