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

[Data update] remove Kosovo from the list of countries; not in ISO 3166 #132

Closed
Tracked by #135
o-alexandrov opened this issue Jan 1, 2024 · 1 comment · Fixed by #135
Closed
Tracked by #135

[Data update] remove Kosovo from the list of countries; not in ISO 3166 #132

o-alexandrov opened this issue Jan 1, 2024 · 1 comment · Fixed by #135
Labels

Comments

@o-alexandrov
Copy link

o-alexandrov commented Jan 1, 2024

Data changes

Kosovo should be removed from the list of countries.
Or the main readme.md file should be updated to mention the data is not conforming to ISO 3166

Links & sources

@o-alexandrov o-alexandrov changed the title [Data update] Why Kosovo is in the list of countries, if it's not part of ISO 3166 [Data update] remove Kosovo from the list of countries; not in ISO 3166 Jan 1, 2024
@dmythro
Copy link
Member

dmythro commented Mar 4, 2024

User-assigned codes is a part of a standard. But I think it would be clearer for them to actually have a temporary or userAssigned flag set in order to properly differentiate.

User-assigned code elements are codes at the disposal of users who need to add further names of countries, territories, or other geographical entities to their in-house application of ISO 3166-1, and the ISO 3166/MA will never use these codes in the updating process of the standard. The following alpha-2 codes can be user-assigned: AA, QM to QZ, XA to XZ, and ZZ.

The code XK is being used by the European Commission the IMF, and SWIFT, the CLDR, and other organizations as a temporary country code for Kosovo.

See: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#User-assigned_code_elements

@dmythro dmythro closed this as completed Mar 4, 2024
@dmythro dmythro linked a pull request Mar 4, 2024 that will close this issue
4 tasks
dmythro added a commit that referenced this issue Mar 4, 2024
* Bump modules

* Update types and data for cases like #36 and #132

* Update comments in types.ts

* Update phone code for Kazakhstan to just `7` #134

* Case insensitive search in getCountryCode function #131

* Rebuild dist data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants