Skip to content

Canonical IANA time zone name for Windows time zones #16

@anba

Description

@anba

Not all OS use the IANA time zone database, most notably Windows. So it's not all always possible to directly return the OS time zone as an IANA time zone, because the OS time zone may first need to be mapped to a corresponding IANA time zone.

For example the Windows time zone "India Standard Time" can be either mapped to Asia/Kolkata or Asia/Calcutta. Or "FLE Standard Time" to either Europe:Kyiv or Europe/Kiev (assuming the user region is 001 (World) or UA (Ukraine)).

CLDR uses this mapping file: https://github.com/unicode-org/cldr/blob/main/common/supplemental/windowsZones.xml.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions