Kaynağa Gözat

LibJS: Remove exception rule from TimeZoneIANAName production

This is an editorial change in the Temporal spec.

See: https://github.com/tc39/proposal-temporal/commit/6a758d6
Linus Groh 2 yıl önce
ebeveyn
işleme
f29c7cab16

+ 1 - 1
Userland/Libraries/LibJS/Runtime/Temporal/ISO8601.cpp

@@ -922,7 +922,7 @@ bool ISO8601Parser::parse_time_zone_iana_name()
 {
     // TimeZoneIANAName :
     //     Etc/GMT ASCIISign UnpaddedHour
-    //     TimeZoneIANANameTail but not Etc/GMT ASCIISign UnpaddedHour
+    //     TimeZoneIANANameTail
     //     TimeZoneIANALegacyName
     // NOTE: Reverse order here because `TimeZoneIANANameTail` can be a subset of `TimeZoneIANALegacyName`,
     // so we'd not attempt to parse that but may not exhaust the input string.