mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
LibJS: Update spec comment in parse_temporal_time_zone_string()
This is a normative change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/19b693c
This commit is contained in:
parent
a7cb042ca8
commit
2cbcb99ec7
Notes:
sideshowbarker
2024-07-18 01:44:25 +09:00
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…
Reference in a new issue