mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:17:44 +00:00
LibJS: Update spec comment in parse_temporal_time_zone_string()
This is a normative change in the Temporal spec.
See: 19b693c
This commit is contained in:
parent
a7cb042ca8
commit
2cbcb99ec7
1 changed files with 1 additions and 1 deletions
|
@ -952,7 +952,7 @@ ThrowCompletionOr<TemporalTimeZone> parse_temporal_time_zone_string(GlobalObject
|
|||
|
||||
// 2. If isoString does not satisfy the syntax of a TemporalTimeZoneString (see 13.33), then
|
||||
// a. Throw a RangeError exception.
|
||||
// 3. Let z, sign, hours, minutes, seconds, fraction and name be the parts of isoString produced respectively by the UTCDesignator, TimeZoneUTCOffsetSign, TimeZoneUTCOffsetHour, TimeZoneUTCOffsetMinute, TimeZoneUTCOffsetSecond, TimeZoneUTCOffsetFraction, and TimeZoneIANAName productions, or undefined if not present.
|
||||
// 3. Let z, sign, hours, minutes, seconds, fraction and name be the parts of isoString produced respectively by the UTCDesignator, TimeZoneUTCOffsetSign, TimeZoneUTCOffsetHour, TimeZoneUTCOffsetMinute, TimeZoneUTCOffsetSecond, TimeZoneUTCOffsetFractionalPart, and TimeZoneIANAName productions, or undefined if not present.
|
||||
Optional<StringView> z_part;
|
||||
Optional<StringView> sign_part;
|
||||
Optional<StringView> hours_part;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue