LibJS: Remove exception rule from TimeZoneIANAName production

This is an editorial change in the Temporal spec.

See: 6a758d6
This commit is contained in:
Linus Groh 2022-08-25 20:48:46 +01:00
commit f29c7cab16
Notes: sideshowbarker 2024-07-17 07:44:39 +09:00

View file

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