LibJS: Use consistent name for offset strings

This is an editorial change in the Temporal spec.

See: 17f8cdb
This commit is contained in:
Linus Groh 2022-01-22 21:13:55 +00:00
commit 6d744eb4a7
Notes: sideshowbarker 2024-07-17 20:26:47 +09:00
4 changed files with 19 additions and 19 deletions

View file

@ -215,7 +215,7 @@ ThrowCompletionOr<ZonedDateTime*> to_temporal_zoned_date_time(GlobalObject& glob
}
// g. Let offsetString be result.[[TimeZoneOffsetString]].
offset_string = move(parsed_result.time_zone.offset);
offset_string = move(parsed_result.time_zone.offset_string);
// h. If result.[[TimeZoneZ]] is true, then
if (parsed_result.time_zone.z) {