Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RobJohnston opened this issue Mar 1, 2019 · 0 comments

Comments

@RobJohnston
Copy link
Contributor

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant