1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:57:44 +00:00

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
parent 965237efb8
commit f29c7cab16

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.