react-phone-input-2 icon indicating copy to clipboard operation
react-phone-input-2 copied to clipboard

Incorrect display format for China

Open yume-chan opened this issue 2 years ago • 0 comments

The most common number format used in China is 3/4/4 (XXX XXXX XXXX). Dash (-) is never used here.

In Google's libphonenumber the metadata is like this:

Id                           ; National           ; Carrier           ; International     ; Local       ; National Prefix Optional ; Comment
...
mobile_3/4/4                 ; "XXX XXXX XXXX"    ; "@ XXX XXXX XXXX" ; "XXX XXXX XXXX"   ;             ;                          ; "Mobile range"
...

yume-chan avatar Jun 28 '22 13:06 yume-chan