Skip to content

Commit

Permalink
Merge pull request #639 from giggsey/upstream-8.13.41
Browse files Browse the repository at this point in the history
Upstream metadata changes from Google for v8.13.41
  • Loading branch information
giggsey authored Jul 24, 2024
2 parents 795e0b7 + 0acaea3 commit d7131cd
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 17 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.40
v8.13.41
1 change: 1 addition & 0 deletions src/carrier/data/en/972.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
9725551 => 'Annatel',
9725552 => 'Annatel',
9725555 => 'Rami Levy',
9725557 => 'Rami Levy',
972556 => 'Rami Levy',
9725570 => 'Cellact',
9725571 => 'Cellact',
Expand Down
8 changes: 4 additions & 4 deletions src/data/PhoneNumberMetadata_CN.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,9 @@
'format' => '$1',
'leadingDigitsPatterns' =>
array (
0 => '1(?:00|2[13])|95',
1 => '1(?:00|2(?:11|39))|95',
2 => '1(?:00|2(?:110|395))|95',
0 => '1(?:00|2[13])|9[56]',
1 => '1(?:00|2(?:1|39))|9[56]',
2 => '1(?:00|2(?:1|395))|9[56]',
),
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
Expand All @@ -195,7 +195,7 @@
'format' => '$1',
'leadingDigitsPatterns' =>
array (
0 => '10|96',
0 => '10',
),
'nationalPrefixFormattingRule' => '',
'domesticCarrierCodeFormattingRule' => '',
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 @@ -45,7 +45,7 @@
),
'mobile' =>
array (
'NationalNumberPattern' => '55410\\d{4}|5(?:(?:[02][02-9]|[149][2-9]|[36]\\d|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}',
'NationalNumberPattern' => '55(?:410|57[0-289])\\d{4}|5(?:(?:[02][02-9]|[149][2-9]|[36]\\d|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}',
'ExampleNumber' => '502345678',
'PossibleLength' =>
array (
Expand Down
21 changes: 11 additions & 10 deletions src/data/ShortNumberMetadata_CN.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,21 @@
return array (
'generalDesc' =>
array (
'NationalNumberPattern' => '[19]\\d\\d(?:\\d{2,3})?',
'NationalNumberPattern' => '[19]\\d{2,5}',
'PossibleLength' =>
array (
0 => 3,
1 => 5,
2 => 6,
1 => 4,
2 => 5,
3 => 6,
),
'PossibleLengthLocalOnly' =>
array (
),
),
'tollFree' =>
array (
'NationalNumberPattern' => '1(?:1[09]|2(?:[02]|[13]\\d\\d))',
'NationalNumberPattern' => '1(?:1[09]|2(?:[02]|1\\d\\d|395))',
'ExampleNumber' => '110',
'PossibleLength' =>
array (
Expand Down Expand Up @@ -62,8 +63,8 @@
),
'shortCode' =>
array (
'NationalNumberPattern' => '1(?:00\\d\\d|1[029]|2(?:[02]|110|395))|95\\d{3,4}',
'ExampleNumber' => '110',
'NationalNumberPattern' => '1(?:00|1[0249]|2395|6[08])|9[56]\\d{3,4}|12[023]|1(?:0(?:[0-26]\\d|8)|21\\d)\\d',
'ExampleNumber' => '100',
'PossibleLength' =>
array (
),
Expand All @@ -73,8 +74,8 @@
),
'standardRate' =>
array (
'NationalNumberPattern' => '1(?:00\\d\\d|12)|95\\d{3,4}',
'ExampleNumber' => '112',
'NationalNumberPattern' => '1(?:0(?:[0-26]\\d|8)\\d|1[24]|23|6[08])|9[56]\\d{3,4}|100',
'ExampleNumber' => '100',
'PossibleLength' =>
array (
),
Expand All @@ -94,8 +95,8 @@
),
'smsServices' =>
array (
'NationalNumberPattern' => '121\\d\\d',
'ExampleNumber' => '12100',
'NationalNumberPattern' => '12110',
'ExampleNumber' => '12110',
'PossibleLength' =>
array (
0 => 5,
Expand Down
2 changes: 1 addition & 1 deletion src/timezone/data/map_data.php
Original file line number Diff line number Diff line change
Expand Up @@ -1998,7 +1998,7 @@
1919 => 'America/New_York',
1920 => 'America/Chicago',
1925 => 'America/Los_Angeles',
1928 => 'America/Denver&America/Phoenix',
1928 => 'America/Phoenix',
1929 => 'America/New_York',
1930 => 'America/New_York',
1931 => 'America/Chicago',
Expand Down

0 comments on commit d7131cd

Please sign in to comment.