-
Notifications
You must be signed in to change notification settings - Fork 87
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
country.nativeName('GB') returns undefined because multiple countries use the same ISO code #26
Comments
Fair enough. I was unaware that multiple countries could have the same ISO code. That call should probably return an array of countries, rather than a single object. I'll take a look at that today. |
FYI, there are several other calls (e.g |
I am aware. The fix I'm rolling would effect all searches. |
👍 |
Also, be aware, we also have a possibly large API change in the works, the fix for this will most likely be rolled with that one. refer #19 |
A fix for this has been pushed into the |
United Kingdom and Scotland has the same ISO code of
GB
andGBR
. Any countries that call uponGB
conflict with the two entries and the Scotland data is returned first.The text was updated successfully, but these errors were encountered: