Skip to content

Commit e3fcbb0

Browse files
authored
Allow 9 digit numbers from Bosnia and Herzegovina (#420)
1 parent ac25629 commit e3fcbb0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

__tests__/data.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,3 +185,5 @@ input_phone,input_country,not_validate_prefix,output_phone,output_country_alpha2
185185
+599 9683 1517,,,+59996831517,CW,CUW,+599,true,,,"returns ANT 2",
186186
+1 (353) 555-8900,,,+13535558900,US,USA,+1,true,,353 area code,"returns +13535558900,USA",
187187
+1 (645) 555-1234,,,+16455551234,US,USA,+1,true,,645 area code,"returns +16455551234,USA",
188+
+387 620 12345,,,+38762012345,BA,BIH,+387,true,,Bosnia and Herzegovina 8 digit number,"returns +38762012345,BIH",
189+
+387 6031 12345,,,+387603112345,BA,BIH,+387,true,,Bosnia and Herzegovina 9 digit number,"returns +387603112345,BIH",

src/data/country_phone_data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ export default [
235235
country_code: '387',
236236
country_name: 'Bosnia and Herzegovina',
237237
mobile_begin_with: ['6'],
238-
phone_number_lengths: [8]
238+
phone_number_lengths: [8, 9]
239239
},
240240
// {alpha2: "BL", alpha3: "BLM", country_code: "590", country_name: "Saint Barthélemy", mobile_begin_with: [], phone_number_lengths: []},
241241
{

0 commit comments

Comments
 (0)