Skip to content

Commit

Permalink
fix: removes outdated countries based on ISO 3166-1 alpha-2 (#3916)
Browse files Browse the repository at this point in the history
- Removes Netherlands Antilles. See wiki section and first row for
reasoning:
https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Transitional_reservations
- Removes duplicate SZ entry. See note in entry for SZ:
https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements
- Fixes code for Martinique (MQ)
  • Loading branch information
andlbrei authored Sep 10, 2024
2 parents b3c44ba + 36ef5cf commit a045acd
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions packages/dnb-eufemia/src/extensions/forms/constants/countries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,7 @@ const countries: Array<CountryType> = [
nb: 'Martinique',
},
cdc: '596',
iso: 'MH',
iso: 'MQ',
continent: 'South America',
},
{
Expand Down Expand Up @@ -1445,15 +1445,6 @@ const countries: Array<CountryType> = [
iso: 'NL',
continent: 'Europe',
},
{
i18n: {
en: 'Netherlands Antilles',
nb: 'Nederlandske Antiller',
},
cdc: '599',
iso: 'AN',
continent: 'North America',
},
{
i18n: {
en: 'New Caledonia',
Expand Down Expand Up @@ -1986,15 +1977,6 @@ const countries: Array<CountryType> = [
iso: 'SJ',
continent: 'Europe',
},
{
i18n: {
en: 'Swaziland',
nb: 'Swaziland',
},
cdc: '268',
iso: 'SZ',
continent: 'Africa',
},
{
i18n: {
en: 'Sweden',
Expand Down

0 comments on commit a045acd

Please sign in to comment.