From b46f0ea21927af224bbce91d45c535e569840d1d Mon Sep 17 00:00:00 2001 From: Po-Shen Loh Date: Sun, 29 Jan 2023 22:43:09 -0500 Subject: [PATCH] Fix dash positioning for Chinese phone numbers. For mobile phone numbers in China (by far the most commonly used numbers), the format has the dash after the 3rd digit, not after the 2nd digit. https://en.wikipedia.org/wiki/Telephone_numbers_in_China --- src/rawCountries.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rawCountries.js b/src/rawCountries.js index f04511f8..9fe5250e 100644 --- a/src/rawCountries.js +++ b/src/rawCountries.js @@ -264,7 +264,7 @@ const rawCountries = [ ['asia'], 'cn', '86', - '..-.........' + '...-........' ], [ 'Colombia',