mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:17:44 +00:00
LibJS: Correct FormatTimeZoneOffsetString arg in CreateTemporalTimeZone
This is an editorial change in the Temporal spec (accidentally marked
normative).
See: 3039c98
This commit is contained in:
parent
f3341f48e3
commit
96db8a061b
1 changed files with 1 additions and 2 deletions
|
@ -90,8 +90,7 @@ ThrowCompletionOr<TimeZone*> create_temporal_time_zone(GlobalObject& global_obje
|
|||
}
|
||||
// 5. Else,
|
||||
else {
|
||||
// a. Set object.[[Identifier]] to ! FormatTimeZoneOffsetString(identifier).
|
||||
// TODO: `identifier` is wrong here. See: https://github.com/tc39/proposal-temporal/pull/2010
|
||||
// a. Set object.[[Identifier]] to ! FormatTimeZoneOffsetString(offsetNanosecondsResult.[[Value]]).
|
||||
object->set_identifier(format_time_zone_offset_string(offset_nanoseconds_result.value()));
|
||||
|
||||
// b. Set object.[[OffsetNanoseconds]] to offsetNanosecondsResult.[[Value]].
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue