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:
Linus Groh 2021-10-30 22:29:58 +02:00
parent a7cb042ca8
commit 2cbcb99ec7
Notes: sideshowbarker 2024-07-18 01:44:25 +09:00

View file

@ -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;