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

Australia's numeric code is wrong #97

Open
2 of 3 tasks
ghsteff opened this issue Nov 10, 2023 · 0 comments
Open
2 of 3 tasks

Australia's numeric code is wrong #97

ghsteff opened this issue Nov 10, 2023 · 0 comments

Comments

@ghsteff
Copy link

ghsteff commented Nov 10, 2023

Please check all that apply

  • visual bug
  • functional bug
  • able to consistently reproduce

Expected Behavior

isoToCountryCode('036', 'alpha2') should return AU

Current Behavior

Australia's numeric code is wrong, so isoToCountryCode('036', 'alpha2') hits an error

Possible Solution

Update the numeric code for Australia to 036 from 016 (which is a duplicate of American Samoa)

Context

I'm mapping countries numeric codes to their alpha 2 codes which I'm using to display unicode flags

Your Environment

  • Version used: flagpack-core@2.0.0
  • Browser Name and version: Chrome 119.0.6045.105 (Official Build) (arm64)
  • Operating System and version (desktop or mobile): macOS 13.5
  • Link to your project:
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