Skip to content

Commit 26c0f22

Browse files
authored
Update country code handling for Kazakhstan
1 parent 87eac70 commit 26c0f22

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/PhoneNumbers.Utilities.TestGenerator/TestFileWriter.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ private static string LookUpTrunkCode(string countryCode) =>
1010
{
1111
"AE" or "AL" or "AT" or "AU" or "AX" or "BA" or "BE" or "BG" or "BR" or "CH" or "DE" or "EG" or "FI" or "FR" or "GB" or "GG" or "GF" or "GP" or "HR" or "IE" or "IM" or "IL" or "JE" or "JO" or "KE" or "MD" or "ME" or "MK" or "MQ" or "NL" or "NG" or "NZ" or "PE" or "RE" or "RO" or "RS" or "SA" or "SE" or "SK" or "SI" or "TR" or "TZ" or "UA" or "UG" or "XK" or "YE" or "YT" or "ZA" => "0",
1212
"HU" => "06",
13-
"BY" or "LT" or "RU" => "8",
13+
"BY" or "KZ" or "LT" or "RU" => "8",
1414
_ => string.Empty,
1515
};
1616

@@ -78,6 +78,7 @@ private static string CountryCodeToCountryInfoName(string countryCode) =>
7878
"KE" => "Kenya",
7979
"KN" => "SaintKittsAndNevis",
8080
"KY" => "CaymanIslands",
81+
"KZ" => "Kazakhstan",
8182
"MC" => "Monaco",
8283
"MD" => "Moldova",
8384
"ME" => "Montenegro",

0 commit comments

Comments
 (0)