Skip to content

Commit

Permalink
Upstream metadata changes from Google for v8.13.54
Browse files Browse the repository at this point in the history
 - Updated phone metadata for region code(s): HK, ML, NC, PL, US
 - New geocoding data for country calling code(s): 1274 (en)
 - Updated carrier data for country calling code(s):
   41 (en), 48 (en), 51 (en), 223 (en), 268 (en), 852 (en, zh)
 - Updated / refreshed time zone meta data.
  • Loading branch information
giggsey committed Jan 31, 2025
1 parent b3362a3 commit 3e5a465
Show file tree
Hide file tree
Showing 15 changed files with 20 additions and 18 deletions.
2 changes: 1 addition & 1 deletion METADATA-VERSION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# It can be a commit, branch or tag of the https://github.com/google/libphonenumber project
#
# For more information, look at the phing tasks in build.xml
v8.13.53
v8.13.54
1 change: 1 addition & 0 deletions src/carrier/data/en/223.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
22382 => 'Orange',
22383 => 'Orange',
22384 => 'Orange',
22385 => 'Orange',
22389 => 'Sotelma',
22390 => 'Orange',
22391 => 'Orange',
Expand Down
2 changes: 1 addition & 1 deletion src/carrier/data/en/268.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
26876 => 'Swazi MTN',
26877 => 'SPTC',
26878 => 'Swazi MTN',
26879 => 'Swazi Mobile Ltd',
26879 => 'Eswatini Mobile',
];
1 change: 1 addition & 0 deletions src/carrier/data/en/41.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
417552 => 'Swisscom',
417553 => 'Swisscom',
417557 => 'Swisscom',
41757 => 'Swisscom',
417600 => 'Sunrise',
41762 => 'Sunrise',
41763 => 'Sunrise',
Expand Down
3 changes: 1 addition & 2 deletions src/carrier/data/en/48.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,9 @@
484595 => 'Plus',
4845950 => 'SIA Ntel Solutions',
4845957 => 'BSG ESTONIA OU',
4845958 => 'TELESTRADA S.A.',
4845959 => 'TELESTRADA S.A.',
484596 => 'Plus',
484598 => 'Plus',
484599 => 'Plus',
4850 => 'Orange',
4851 => 'Orange',
4853 => 'Play',
Expand Down
9 changes: 2 additions & 7 deletions src/carrier/data/en/51.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,10 @@
*/

return [
5190 => 'Entel',
51900 => 'Claro',
51901 => 'Claro',
51902 => 'Entel',
51903 => 'Entel',
51904 => 'Entel',
51905 => 'Entel',
51906 => 'Entel',
51907 => 'Entel',
51908 => 'Entel',
51909 => 'Americatel',
51910 => 'Claro',
51912 => 'Entel',
51913 => 'Claro',
Expand Down
2 changes: 2 additions & 0 deletions src/carrier/data/en/852.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
852469 => 'China Mobile',
8524699 => 'South China Telecommunications',
852470 => 'Hutchison Telecom',
852471 => 'Hutchison Telecom',
852474 => 'China Mobile',
852475 => 'Hutchison Telecom',
852476 => 'China Mobile',
Expand Down Expand Up @@ -297,6 +298,7 @@
852702 => 'Hutchison Telecom',
852703 => 'Hutchison Telecom',
852704 => 'Hutchison Telecom',
852705 => 'Hutchison Telecom',
8527071 => 'SmarTone',
8527072 => 'SmarTone',
8527073 => 'SmarTone',
Expand Down
2 changes: 2 additions & 0 deletions src/carrier/data/zh/852.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
852469 => '中国移动',
8524699 => '中國南方電信(香港)有限公司',
852470 => '和記電話有限公司',
852471 => '和記電話有限公司',
852474 => '中国移动',
852475 => '和記電話有限公司',
852476 => '中国移动',
Expand Down Expand Up @@ -261,6 +262,7 @@
852702 => '和記電話有限公司',
852703 => '和記電話有限公司',
852704 => '和記電話有限公司',
852705 => '和記電話有限公司',
8527071 => '数码通',
8527072 => '数码通',
8527073 => '数码通',
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_HK.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
'PossibleLengthLocalOnly' => [],
],
'mobile' => [
'NationalNumberPattern' => '(?:4(?:44[0-25-9]|6(?:1[0-7]|4[0-57-9]|6[0-4])|7(?:4[0-2]|6[0-5]))|5(?:73[0-6]|95[0-8])|6(?:26[013-8]|66[0-3])|70(?:7[1-8]|8[0-4])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[014-9]|59[0-4]|899))\\d{4}|(?:4(?:4[0-35-9]|6[02357-9]|7[05])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-49]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}',
'NationalNumberPattern' => '(?:4(?:44[0-25-9]|6(?:1[0-7]|4[0-57-9]|6[0-4])|7(?:4[0-2]|6[0-5]))|5(?:73[0-6]|95[0-8])|6(?:26[013-8]|66[0-3])|70(?:7[1-8]|8[0-4])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[014-9]|59[0-4]|899))\\d{4}|(?:4(?:4[0-35-9]|6[02357-9]|7[015])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-59]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}',
'ExampleNumber' => '51234567',
'PossibleLength' => [
8,
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_ML.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
'PossibleLengthLocalOnly' => [],
],
'fixedLine' => [
'NationalNumberPattern' => '2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-39]))\\d{5}',
'NationalNumberPattern' => '2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-59]))\\d{5}',
'ExampleNumber' => '20212345',
'PossibleLength' => [],
'PossibleLengthLocalOnly' => [],
],
'mobile' => [
'NationalNumberPattern' => '2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[01]|[679]\\d|8[2-49])\\d{6}',
'NationalNumberPattern' => '2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[01]|[679]\\d|8[2-59])\\d{6}',
'ExampleNumber' => '65012345',
'PossibleLength' => [],
'PossibleLengthLocalOnly' => [],
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_NC.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
'PossibleLengthLocalOnly' => [],
],
'mobile' => [
'NationalNumberPattern' => '(?:5[0-4]|[79]\\d|8[0-79])\\d{4}',
'NationalNumberPattern' => '(?:[579]\\d|8[0-79])\\d{4}',
'ExampleNumber' => '751234',
'PossibleLength' => [],
'PossibleLengthLocalOnly' => [],
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_PL.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
'PossibleLengthLocalOnly' => [],
],
'mobile' => [
'NationalNumberPattern' => '21(?:1[013-5]|2\\d|3[4-9])\\d{5}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}',
'NationalNumberPattern' => '2131[89]\\d{4}|21(?:1[013-5]|2\\d|3[2-9])\\d{5}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}',
'ExampleNumber' => '512345678',
'PossibleLength' => [
9,
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_US.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
],
],
'fixedLine' => [
'NationalNumberPattern' => '(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468]))\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}',
'NationalNumberPattern' => '(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468]))\\d{4}|(?:2742|305[3-9]|472[247-9]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}',
'ExampleNumber' => '2015550123',
'PossibleLength' => [],
'PossibleLengthLocalOnly' => [
7,
],
],
'mobile' => [
'NationalNumberPattern' => '(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468]))\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}',
'NationalNumberPattern' => '(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468]))\\d{4}|(?:2742|305[3-9]|472[247-9]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}',
'ExampleNumber' => '2015550123',
'PossibleLength' => [],
'PossibleLengthLocalOnly' => [
Expand Down
1 change: 1 addition & 0 deletions src/geocoding/data/en/12.php
Original file line number Diff line number Diff line change
Expand Up @@ -3801,6 +3801,7 @@
1270982 => 'Elizabethtown, KY',
1270988 => 'Salem, KY',
1272 => 'Pennsylvania',
1274 => 'Wisconsin',
1276 => 'Virginia',
1276223 => 'Wytheville, VA',
1276228 => 'Wytheville, VA',
Expand Down
1 change: 1 addition & 0 deletions src/timezone/data/map_data.php
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,7 @@
1270965 => 'America/Chicago',
1270988 => 'America/Chicago',
1272 => 'America/New_York',
1274 => 'America/Chicago',
1276 => 'America/New_York',
1279 => 'America/Los_Angeles',
1281 => 'America/Chicago',
Expand Down

0 comments on commit 3e5a465

Please sign in to comment.