Skip to content

TimeZoneUTCOffsetName and Etc/GMT are ignored in ParseTemporalTimeZoneString #1805

@Constellation

Description

@Constellation

ParseTemporalTimeZoneString only cares TimeZoneIANAName.
https://tc39.es/proposal-temporal/#sec-temporal-parsetemporaltimezonestring

However, there are other two productions.

TimeZoneBracketedName :
    TimeZoneIANAName
    Etc/GMT ASCIISign Hour
    TimeZoneUTCOffsetName

So, if we use [Etc/GMT-09] etc. then it is ignored in ParseTemporalTimeZoneString.

Metadata

Metadata

Assignees

Labels

normativeWould be a normative change to the proposalspec-textSpecification text involved

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions