flagpack-core
flagpack-core copied to clipboard
Australia's numeric code is wrong
Please check all that apply
- [ ] visual bug
- [x] functional bug
- [x] 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: [email protected]
- 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: