We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
isoToCountryCode('036', 'alpha2') should return AU
isoToCountryCode('036', 'alpha2')
AU
Australia's numeric code is wrong, so isoToCountryCode('036', 'alpha2') hits an error
Update the numeric code for Australia to 036 from 016 (which is a duplicate of American Samoa)
I'm mapping countries numeric codes to their alpha 2 codes which I'm using to display unicode flags
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Please check all that apply
Expected Behavior
isoToCountryCode('036', 'alpha2')
should returnAU
Current Behavior
Australia's numeric code is wrong, so
isoToCountryCode('036', 'alpha2')
hits an errorPossible 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
The text was updated successfully, but these errors were encountered: