Skip to content

Commit

Permalink
Upstream metadata changes from Google for v8.13.53
Browse files Browse the repository at this point in the history
 - Updated phone metadata for region code(s):
   EH, IL, LV, MA, MK, MM, MU, PW, SO
 - Updated carrier data for country calling code(s):
   90 (en), 92 (en), 212 (en), 229 (en), 252 (en), 351 (en), 371 (en), 389 (en),
   597 (en), 680 (en)
 - Updated / refreshed time zone meta data.
  • Loading branch information
giggsey committed Jan 15, 2025
1 parent 3b65044 commit e8f3a15
Show file tree
Hide file tree
Showing 21 changed files with 76 additions and 83 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.52
v8.13.53
58 changes: 29 additions & 29 deletions src/carrier/data/en/212.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@
return [
21260 => 'Inwi',
21261 => 'Maroc Telecom',
212612 => 'Méditel',
212614 => 'Méditel',
212617 => 'Méditel',
212619 => 'Méditel',
212620 => 'Méditel',
212621 => 'Méditel',
212612 => 'Orange',
212614 => 'Orange',
212617 => 'Orange',
212619 => 'Orange',
212620 => 'Orange',
212621 => 'Orange',
212622 => 'Maroc Telecom',
212623 => 'Maroc Telecom',
212624 => 'Maroc Telecom',
212625 => 'Méditel',
212625 => 'Orange',
212626 => 'Inwi',
212627 => 'Inwi',
212628 => 'Maroc Telecom',
212629 => 'Inwi',
212630 => 'Inwi',
212631 => 'Méditel',
212632 => 'Méditel',
212631 => 'Orange',
212632 => 'Orange',
212633 => 'Inwi',
212634 => 'Inwi',
212635 => 'Inwi',
Expand All @@ -42,42 +42,42 @@
212641 => 'Maroc Telecom',
212642 => 'Maroc Telecom',
212643 => 'Maroc Telecom',
212644 => 'Méditel',
212645 => 'Méditel',
212644 => 'Orange',
212645 => 'Orange',
212646 => 'Inwi',
212647 => 'Inwi',
212648 => 'Maroc Telecom',
212649 => 'Méditel',
212649 => 'Orange',
21265 => 'Maroc Telecom',
212656 => 'Méditel',
212657 => 'Méditel',
212660 => 'Méditel',
212656 => 'Orange',
212657 => 'Orange',
212660 => 'Orange',
212661 => 'Maroc Telecom',
212662 => 'Maroc Telecom',
212663 => 'Méditel',
212664 => 'Méditel',
212665 => 'Méditel',
212663 => 'Orange',
212664 => 'Orange',
212665 => 'Orange',
212666 => 'Maroc Telecom',
212667 => 'Maroc Telecom',
212668 => 'Maroc Telecom',
212669 => 'Méditel',
212669 => 'Orange',
21267 => 'Maroc Telecom',
212674 => 'Méditel',
212675 => 'Méditel',
212679 => 'Méditel',
212674 => 'Orange',
212675 => 'Orange',
212679 => 'Orange',
212680 => 'Inwi',
212681 => 'Inwi',
212682 => 'Maroc Telecom',
212684 => 'Méditel',
212684 => 'Orange',
212687 => 'Inwi',
212688 => 'Méditel',
212688 => 'Orange',
212689 => 'Maroc Telecom',
212690 => 'Inwi',
212691 => 'Méditel',
212691 => 'Orange',
2126921 => 'Al Hourria Telecom',
2126922 => 'Al Hourria Telecom',
212693 => 'Méditel',
212694 => 'Méditel',
212693 => 'Orange',
212694 => 'Orange',
212695 => 'Inwi',
212696 => 'Maroc Telecom',
212697 => 'Maroc Telecom',
Expand All @@ -88,6 +88,6 @@
21272 => 'Inwi',
21275 => 'Maroc Telecom',
21276 => 'Maroc Telecom',
21277 => 'Méditel',
21278 => 'Méditel',
21277 => 'Orange',
21278 => 'Orange',
];
8 changes: 1 addition & 7 deletions src/carrier/data/en/229.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,10 @@
*/

return [
2290140 => 'SBIN',
2290141 => 'SBIN',
229014 => 'SBIN',
2290142 => 'MTN',
2290143 => 'SBIN',
2290144 => 'SBIN',
2290145 => 'Moov',
2290146 => 'MTN',
2290147 => 'SBIN',
2290148 => 'SBIN',
229015 => 'MTN',
2290155 => 'Moov',
2290158 => 'Moov',
Expand All @@ -47,7 +42,6 @@
22946 => 'MTN',
2295 => 'MTN',
22955 => 'Moov',
22956 => 'Moov',
22960 => 'Moov',
22961 => 'MTN',
22962 => 'MTN',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/252.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
25270 => 'Golis Telecom',
25271 => 'Amtel',
25272 => 'Golis Telecom',
25276 => 'Somtel',
25279 => 'Somtel',
25280 => 'Somali Networks',
25288 => 'Somali Networks',
Expand Down
2 changes: 2 additions & 0 deletions src/carrier/data/en/351.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@
3519280 => 'NOWO',
3519281 => 'NOWO',
3519282 => 'Digi Communications',
3519283 => 'Digi Communications',
3519284 => 'Digi Communications',
3519285 => 'ONITELECOM',
3519290 => 'NOS',
3519291 => 'NOS',
Expand Down
33 changes: 11 additions & 22 deletions src/carrier/data/en/371.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,23 @@

return [
371200 => 'Tele2',
3712010 => 'Bite Latvia',
3712011 => 'Bite Latvia',
3712012 => 'Bite Latvia',
3712013 => 'Bite Latvia',
3712014 => 'Bite Latvia',
3712015 => 'Bite Latvia',
3712016 => 'Bite Latvia',
3712017 => 'Bite Latvia',
3712019 => 'Bite Latvia',
371201 => 'Bite Latvia',
3712018 => 'Tele2',
371202 => 'LMT',
371203 => 'Tele2',
371204 => 'Tele2',
371205 => 'Tele2',
371206 => 'Bite Latvia',
371207 => 'Bite Latvia',
3712080 => 'Bite Latvia',
3712081 => 'Bite Latvia',
3712082 => 'Bite Latvia',
3712083 => 'Bite Latvia',
3712084 => 'Bite Latvia',
3712085 => 'Bite Latvia',
3712086 => 'Bite Latvia',
3712087 => 'Bite Latvia',
3712088 => 'Bite Latvia',
371208 => 'Bite Latvia',
3712089 => 'Tele2',
3712091 => 'Tele2',
3712092 => 'Tele2',
3712093 => 'Tele2',
3712094 => 'Triatel',
3712095 => 'Tele2',
3712096 => 'Tele2',
3712097 => 'Tele2',
37121 => 'Bite Latvia',
3712200 => 'LMT',
3712201 => 'LMT',
Expand Down Expand Up @@ -75,10 +67,7 @@
3712317 => 'Bite Latvia',
3712320 => 'Bite Latvia',
3712322 => 'Bite Latvia',
37123230 => 'Tele2',
37123232 => 'Tele2',
37123233 => 'Tele2',
37123238 => 'Tele2',
3712323 => 'Tele2',
3712327 => 'Bite Latvia',
3712328 => 'LMT',
3712330 => 'Bite Latvia',
Expand Down
2 changes: 0 additions & 2 deletions src/carrier/data/en/389.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
38972 => 'T-Mobile',
38973 => 'A1',
389736 => 'T-Mobile',
3897370 => 'T-Mobile',
3897371 => 'T-Mobile',
389742 => 'T-Mobile',
3897421 => 'Mobik',
389746 => 'T-Mobile',
Expand Down
6 changes: 1 addition & 5 deletions src/carrier/data/en/597.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@
59774 => 'Digicel',
59775 => 'Telesur',
59776 => 'Digicel',
597770 => 'Telesur',
597771 => 'Telesur',
597772 => 'Telesur',
597773 => 'Telesur',
597774 => 'Telesur',
59777 => 'Telesur',
5978 => 'Telesur',
59781 => 'Digicel',
59782 => 'Digicel',
Expand Down
1 change: 1 addition & 0 deletions src/carrier/data/en/680.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
68045 => 'PMCI',
68046 => 'PMCI',
68077 => 'PalauCel',
68078 => 'PalauCel',
68083 => 'PMCI',
68088 => 'PalauTel',
];
5 changes: 1 addition & 4 deletions src/carrier/data/en/90.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
90510221 => 'Netgsm',
90510222 => 'Netgsm',
90510223 => 'Netgsm',
90510224 => 'Netgsm',
90510227 => 'Netgsm',
90510232 => 'Foniv Telecommunications Services',
90510244 => 'Nida Telekomunikasyon',
Expand All @@ -39,10 +40,6 @@
9053386 => 'Kuzey Kibris Turkcell',
9053387 => 'Kuzey Kibris Turkcell',
9054 => 'Vodafone',
9054285 => 'KKTC Telsim',
9054286 => 'KKTC Telsim',
9054287 => 'KKTC Telsim',
9054288 => 'KKTC Telsim',
9055 => 'Turk Telekom',
905610 => 'Selam Mobile',
905616 => 'Turkcell',
Expand Down
4 changes: 2 additions & 2 deletions src/carrier/data/en/92.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
*/

return [
9230 => 'Mobilink',
9230 => 'Jazz',
9231 => 'Zong',
9232 => 'Warid',
9232 => 'Jazz',
9233 => 'Ufone',
9234 => 'Telenor',
9235 => 'Special Communications Organization',
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_EH.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
'PossibleLengthLocalOnly' => [],
],
'mobile' => [
'NationalNumberPattern' => '(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}',
'NationalNumberPattern' => '(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}',
'ExampleNumber' => '650123456',
'PossibleLength' => [],
'PossibleLengthLocalOnly' => [],
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 @@ -73,7 +73,7 @@
'PossibleLengthLocalOnly' => [],
],
'voip' => [
'NationalNumberPattern' => '7(?:38(?:0\\d|5[0-2569]|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[0-3569]|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' => [
9,
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_LV.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
'PossibleLengthLocalOnly' => [],
],
'mobile' => [
'NationalNumberPattern' => '23(?:23[0-57-9]|33[0238])\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[024-9]|3[0-24-9]))\\d{4}',
'NationalNumberPattern' => '2333[0-8]\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[02-9]|3[0-24-9]))\\d{4}',
'ExampleNumber' => '21234567',
'PossibleLength' => [],
'PossibleLengthLocalOnly' => [],
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_MA.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
'PossibleLengthLocalOnly' => [],
],
'mobile' => [
'NationalNumberPattern' => '(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}',
'NationalNumberPattern' => '(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}',
'ExampleNumber' => '650123456',
'PossibleLength' => [],
'PossibleLengthLocalOnly' => [],
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_MK.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
],
],
'mobile' => [
'NationalNumberPattern' => '7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-48]\\d|6[01]|7[01578])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}',
'NationalNumberPattern' => '7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-478]\\d|6[01])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}',
'ExampleNumber' => '72345678',
'PossibleLength' => [],
'PossibleLengthLocalOnly' => [],
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_MM.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
'PossibleLengthLocalOnly' => [],
],
'voip' => [
'NationalNumberPattern' => '1333\\d{4}|[12]468\\d{4}',
'NationalNumberPattern' => '1333\\d{4}',
'ExampleNumber' => '13331234',
'PossibleLength' => [
8,
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_MU.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
'PossibleLengthLocalOnly' => [],
],
'fixedLine' => [
'NationalNumberPattern' => '(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-8]|71)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}',
'NationalNumberPattern' => '(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-8]|71|90)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}',
'ExampleNumber' => '54480123',
'PossibleLength' => [
7,
Expand Down
2 changes: 1 addition & 1 deletion src/data/PhoneNumberMetadata_PW.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
'PossibleLengthLocalOnly' => [],
],
'mobile' => [
'NationalNumberPattern' => '(?:(?:46|83)[0-5]|6[2-4689]0)\\d{4}|(?:45|77|88)\\d{5}',
'NationalNumberPattern' => '(?:(?:46|83)[0-5]|(?:6[2-4689]|78)0)\\d{4}|(?:45|77|88)\\d{5}',
'ExampleNumber' => '6201234',
'PossibleLength' => [],
'PossibleLengthLocalOnly' => [],
Expand Down
4 changes: 2 additions & 2 deletions src/data/PhoneNumberMetadata_SO.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
'PossibleLengthLocalOnly' => [],
],
'mobile' => [
'NationalNumberPattern' => '(?:(?:15|(?:3[59]|4[89]|6\\d|7[79]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}',
'NationalNumberPattern' => '(?:(?:15|(?:3[59]|4[89]|6\\d|7[679]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}',
'ExampleNumber' => '71123456',
'PossibleLength' => [
7,
Expand Down Expand Up @@ -152,7 +152,7 @@
'pattern' => '(\\d{2})(\\d{5,7})',
'format' => '$1 $2',
'leadingDigitsPatterns' => [
'1|28|6[0-35-9]|77|9[2-9]',
'1|28|6[0-35-9]|7[67]|9[2-9]',
],
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
Expand Down
17 changes: 16 additions & 1 deletion src/timezone/data/map_data.php
Original file line number Diff line number Diff line change
Expand Up @@ -2000,7 +2000,22 @@
1920 => 'America/Chicago',
1925 => 'America/Los_Angeles',
1928 => 'America/Phoenix',
1928688 => 'America/Denver&America/Phoenix',
1928283 => 'America/Denver&America/Phoenix',
1928672 => 'America/Denver&America/Phoenix',
1928673 => 'America/Denver&America/Phoenix',
1928674 => 'America/Denver&America/Phoenix',
1928677 => 'America/Denver&America/Phoenix',
1928686 => 'America/Denver&America/Phoenix',
1928697 => 'America/Denver&America/Phoenix',
1928698 => 'America/Denver&America/Phoenix',
1928724 => 'America/Denver&America/Phoenix',
1928725 => 'America/Denver&America/Phoenix',
1928728 => 'America/Denver&America/Phoenix',
1928729 => 'America/Denver&America/Phoenix',
1928755 => 'America/Denver&America/Phoenix',
1928781 => 'America/Denver&America/Phoenix',
1928787 => 'America/Denver&America/Phoenix',
1928871 => 'America/Denver&America/Phoenix',
1929 => 'America/New_York',
1930 => 'America/New_York',
1931 => 'America/Chicago',
Expand Down

0 comments on commit e8f3a15

Please sign in to comment.