From f29c7cab1687b37cef8a08a54bd089cdb564110c Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Thu, 25 Aug 2022 20:48:46 +0100 Subject: [PATCH] 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 --- Userland/Libraries/LibJS/Runtime/Temporal/ISO8601.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/ISO8601.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/ISO8601.cpp index 125e406dec..1f5cb00d4d 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/ISO8601.cpp +++ b/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.