Skip to content

TZNames.GetCountryNames() returns territories without time zones and different results per locale #53

@RobJohnston

Description

@RobJohnston

Calling TZNames.GetCountryNames() with the English locale gets data from https://www.unicode.org/repos/cldr/tags/release-34/common/main/en.xml, which includes 4 territories without time zones:

  • EZ - Eurozone
  • UN - United Nations
  • XA - Pseudo-Accents
  • XB - Pseudo-Bidi

Calling it with the French locale gets data from https://www.unicode.org/repos/cldr/tags/release-34/common/main/fr.xml, which does not include "XA" nor "XB".

Expected results:

  1. different locales return the same number of territories
  2. Territories without time zones are not returned

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions