Skip to content

Commit

Permalink
Merge pull request #185 from jessetan/feat/format-nl-numbers
Browse files Browse the repository at this point in the history
Format number for The Netherlands
  • Loading branch information
ybrusentsov authored May 18, 2024
2 parents 27db43a + a7e9750 commit d36e110
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/data/countryData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,21 @@ export const defaultCountries: CountryData[] = [
['Namibia', 'na', '264'],
['Nauru', 'nr', '674'],
['Nepal', 'np', '977'],
['Netherlands', 'nl', '31', '.. ........'],
[
'Netherlands',
'nl',
'31',
{
'/^06/': '(.). .........',
'/^6/': '. .........',
'/^0(10|13|14|15|20|23|24|26|30|33|35|36|38|40|43|44|45|46|50|53|55|58|70|71|72|73|74|75|76|77|78|79|82|84|85|87|88|91)/':
'(.).. ........',
'/^(10|13|14|15|20|23|24|26|30|33|35|36|38|40|43|44|45|46|50|53|55|58|70|71|72|73|74|75|76|77|78|79|82|84|85|87|88|91)/':
'.. ........',
'/^0/': '(.)... .......',
default: '... .......',
},
],
['New Caledonia', 'nc', '687'],
['New Zealand', 'nz', '64', '...-...-....'],
['Nicaragua', 'ni', '505'],
Expand Down

0 comments on commit d36e110

Please sign in to comment.