Skip to content

Commit

Permalink
- #267 added Hungarian phone numbers support
Browse files Browse the repository at this point in the history
  • Loading branch information
Bossa573 committed Nov 17, 2021
1 parent 9d4adbb commit 66fd59c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions __tests__/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,4 @@ input_phone,input_country,not_validate_prefix,output_phone,output_country_alpha2
+44 079111 23456,,,+447911123456,GB,GBR,+44,true,,"returns +447911123456,GBR for explicitly false",false,
+4710000000,,,,,,,false,Testing NO / SJ numbers,Should not be valid NO or SJ,returns,
+4779000000,,,+4779000000,SJ,SJM,+47,true,,Should be SJ (Svalbard / Jan Mayen),"returns +4779000000,SJM",
+36 50 1234567,,,+36501234567,HU,HUN,+36,true,,Hungary phone number 50 prefix,"returns +36501234567,HUN",
2 changes: 1 addition & 1 deletion src/data/country_phone_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ export default [
alpha3: 'HUN',
country_code: '36',
country_name: 'Hungary',
mobile_begin_with: ['20', '30', '31', '70'],
mobile_begin_with: ['20', '30', '31', '50', '70'],
phone_number_lengths: [9]
},
{
Expand Down

0 comments on commit 66fd59c

Please sign in to comment.