Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream metadata changes from Google for v8.13.33 #622

Merged
merged 1 commit into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.32
v8.13.33
2 changes: 1 addition & 1 deletion src/carrier/data/en/255.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
25574 => 'Vodacom',
25575 => 'Vodacom',
25576 => 'Vodacom',
25577 => 'Zantel',
25577 => 'tiGO',
25578 => 'Airtel',
25579 => 'Benson Informatics',
);
2 changes: 1 addition & 1 deletion src/carrier/data/en/256.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
256726 => 'Tangerine',
256728 => 'Talkio',
25673 => 'Hamilton Telecom',
25674 => 'Sure Telecom',
25674 => 'Airtel',
25675 => 'Airtel',
25676 => 'MTN',
25677 => 'MTN',
Expand Down
4 changes: 2 additions & 2 deletions src/carrier/data/en/355.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

return array (
35567 => 'ALBtelecom',
35568 => 'Telekom',
35567 => 'One',
35568 => 'One',
35569 => 'Vodafone',
);
6 changes: 3 additions & 3 deletions src/carrier/data/en/376.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

return array (
3763 => 'Mobiland',
3765 => 'Mobiland',
3766 => 'Mobiland',
3763 => 'Andorra Telecom',
3765 => 'Andorra Telecom',
3766 => 'Andorra Telecom',
);
2 changes: 2 additions & 0 deletions src/carrier/data/en/380.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
38067 => 'Kyivstar',
38068 => 'Kyivstar',
38073 => 'lifecell',
38075 => 'Vodafone',
38077 => 'Kyivstar',
38091 => 'TriMob',
38092 => 'PEOPLEnet',
38093 => 'lifecell',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/972.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
9725543 => 'Maskyoo',
9725544 => 'Cellran Cellular Communications',
97255440 => 'Merkaziya',
97255442 => 'Xphone',
9725550 => 'Annatel',
9725551 => 'Annatel',
9725552 => 'Annatel',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/993.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@
99367 => 'MTS (BARASH Communication)',
99368 => 'MTS (BARASH Communication)',
99369 => 'MTS (BARASH Communication)',
9937 => 'TM-Cell',
);
1 change: 1 addition & 0 deletions src/carrier/data/en/995.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
9955008 => 'Silknet',
99550090 => 'Cellfie',
99550099 => 'Silknet',
995501 => 'Cellfie',
9955050 => 'Silknet',
9955055 => 'MagtiCom',
995510 => 'Silknet',
Expand Down
2 changes: 2 additions & 0 deletions src/carrier/data/uk/380.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
38066 => 'Vodafone Україна',
38067 => 'Київстар',
38068 => 'Київстар',
38075 => 'Vodafone Україна',
38077 => 'Київстар',
38091 => 'ТриМоб',
38094 => 'Інтертелеком',
38095 => 'Vodafone Україна',
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_CA.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}',
'NationalNumberPattern' => '(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}',
'ExampleNumber' => '5062345678',
'PossibleLength' =>
array (
Expand All @@ -39,7 +39,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}',
'NationalNumberPattern' => '(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}',
'ExampleNumber' => '5062345678',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_GE.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|(?:5(?:00(?:0\\d|11|22|33|44|5[05]|77|88|9[09])|1(?:1(?:00|[124]\\d|3[01])|4\\d\\d)|(?:44|68)\\d\\d|5(?:[0157-9]\\d\\d|200)|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|58[89]|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}|5(?:0(?:0[17]0|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}',
'NationalNumberPattern' => '5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|(?:5(?:0(?:0(?:0\\d|11|22|33|44|5[05]|77|88|9[09])|111)|1(?:1(?:00|[124]\\d|3[01])|4\\d\\d)|(?:44|68)\\d\\d|5(?:[0157-9]\\d\\d|200)|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|58[89]|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}|5(?:0(?:0[17]0|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}',
'ExampleNumber' => '555123456',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_IL.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
),
'voip' =>
array (
'NationalNumberPattern' => '7(?:38(?:0\\d|5[09]|88)|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}',
'NationalNumberPattern' => '7(?:38(?:0\\d|5[019]|88)|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}',
'ExampleNumber' => '771234567',
'PossibleLength' =>
array (
Expand Down
10 changes: 5 additions & 5 deletions src/data/PhoneNumberMetadata_LT.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
'id' => 'LT',
'countryCode' => 370,
'internationalPrefix' => '00',
'nationalPrefix' => '8',
'nationalPrefix' => '0',
'nationalPrefixForParsing' => '[08]',
'sameMobileAndFixedLinePattern' => false,
'numberFormat' =>
Expand All @@ -157,7 +157,7 @@
array (
0 => '52[0-7]',
),
'nationalPrefixFormattingRule' => '(8-$1)',
'nationalPrefixFormattingRule' => '(0-$1)',
'domesticCarrierCodeFormattingRule' => '',
'nationalPrefixOptionalWhenFormatting' => true,
),
Expand All @@ -169,7 +169,7 @@
array (
0 => '[7-9]',
),
'nationalPrefixFormattingRule' => '8 $1',
'nationalPrefixFormattingRule' => '0 $1',
'domesticCarrierCodeFormattingRule' => '',
'nationalPrefixOptionalWhenFormatting' => true,
),
Expand All @@ -181,7 +181,7 @@
array (
0 => '37|4(?:[15]|6[1-8])',
),
'nationalPrefixFormattingRule' => '(8-$1)',
'nationalPrefixFormattingRule' => '(0-$1)',
'domesticCarrierCodeFormattingRule' => '',
'nationalPrefixOptionalWhenFormatting' => true,
),
Expand All @@ -193,7 +193,7 @@
array (
0 => '[3-6]',
),
'nationalPrefixFormattingRule' => '(8-$1)',
'nationalPrefixFormattingRule' => '(0-$1)',
'domesticCarrierCodeFormattingRule' => '',
'nationalPrefixOptionalWhenFormatting' => true,
),
Expand Down
6 changes: 3 additions & 3 deletions src/data/PhoneNumberMetadata_TM.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
return array (
'generalDesc' =>
array (
'NationalNumberPattern' => '[1-6]\\d{7}',
'NationalNumberPattern' => '(?:[1-6]\\d|71)\\d{6}',
'PossibleLength' =>
array (
0 => 8,
Expand All @@ -36,7 +36,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '6\\d{7}',
'NationalNumberPattern' => '(?:6\\d|71)\\d{6}',
'ExampleNumber' => '66123456',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -174,7 +174,7 @@
'format' => '$1 $2',
'leadingDigitsPatterns' =>
array (
0 => '6',
0 => '[67]',
),
'nationalPrefixFormattingRule' => '8 $1',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_TZ.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '77[2-9]\\d{6}|(?:6[125-9]|7[13-689])\\d{7}',
'NationalNumberPattern' => '(?:6[125-9]|7[13-9])\\d{7}',
'ExampleNumber' => '621234567',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_UA.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:39|50|6[36-8]|7[1-3]|9[1-9])\\d{7}',
'NationalNumberPattern' => '(?:39|50|6[36-8]|7[1-357]|9[1-9])\\d{7}',
'ExampleNumber' => '501234567',
'PossibleLength' =>
array (
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_UG.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '72(?:[48]0|6[01])\\d{5}|7(?:[015-8]\\d|20|36|4[0-4]|9[89])\\d{6}',
'NationalNumberPattern' => '72(?:[48]0|6[01])\\d{5}|7(?:[015-8]\\d|20|36|4[0-5]|9[89])\\d{6}',
'ExampleNumber' => '712345678',
'PossibleLength' =>
array (
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 @@ -26,7 +26,7 @@
),
'fixedLine' =>
array (
'NationalNumberPattern' => '(?:5056(?:[0-35-9]\\d|4[468])|7302[0-3]\\d)\\d{4}|(?:472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013569]|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[1247]|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' => '(?:5056(?:[0-35-9]\\d|4[468])|7302[0-3]\\d)\\d{4}|(?:472[24]|505[2-57-9]|7306|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-57-9]|1[02-9]|2[013569]|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[1247]|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' =>
array (
Expand All @@ -38,7 +38,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '(?:5056(?:[0-35-9]\\d|4[468])|7302[0-3]\\d)\\d{4}|(?:472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013569]|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[1247]|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' => '(?:5056(?:[0-35-9]\\d|4[468])|7302[0-3]\\d)\\d{4}|(?:472[24]|505[2-57-9]|7306|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-57-9]|1[02-9]|2[013569]|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[1247]|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' =>
array (
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 @@ -2326,6 +2326,7 @@
1231995 => 'Traverse City, MI',
1234 => 'Ohio',
1234678 => 'Akron, OH',
1235 => 'Missouri',
1236 => 'British Columbia',
1239 => 'Florida',
1239200 => 'Naples, FL',
Expand Down
1 change: 1 addition & 0 deletions src/geocoding/data/en/18.php
Original file line number Diff line number Diff line change
Expand Up @@ -3940,4 +3940,5 @@
1873 => 'Quebec',
1876957 => 'Negril',
1878 => 'Pennsylvania',
1879 => 'Newfoundland and Labrador',
);
2 changes: 2 additions & 0 deletions src/timezone/data/map_data.php
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@
1229 => 'America/New_York',
1231 => 'America/New_York',
1234 => 'America/New_York',
1235 => 'America/Chicago',
1236 => 'America/Vancouver',
1239 => 'America/New_York',
1240 => 'America/New_York',
Expand Down Expand Up @@ -1859,6 +1860,7 @@
1873 => 'America/Toronto',
1876 => 'America/Jamaica',
1878 => 'America/New_York',
1879 => 'America/Puerto_Rico&America/St_Johns',
1901 => 'America/Chicago',
1902 => 'America/Halifax',
1903 => 'America/Chicago',
Expand Down
Loading