From 2cbcb99ec75e65545167e551af7b9390020204ec Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sat, 30 Oct 2021 22:29:58 +0200 Subject: [PATCH] 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 --- .../Libraries/LibJS/Runtime/Temporal/AbstractOperations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/AbstractOperations.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/AbstractOperations.cpp index d9ca09129c7..bb76c7d0f47 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/AbstractOperations.cpp +++ b/Userland/Libraries/LibJS/Runtime/Temporal/AbstractOperations.cpp @@ -952,7 +952,7 @@ ThrowCompletionOr 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 z_part; Optional sign_part; Optional hours_part;