PhoneNumberKit icon indicating copy to clipboard operation
PhoneNumberKit copied to clipboard

Wrong format for Tajik numbers

Open kmitj opened this issue 2 years ago • 6 comments
trafficstars

 let phoneFormatKit = PhoneNumberKit()
 let info = try phoneFormatKit.parse("992000000004", withRegion: TJ, ignoreType: true)
 let formated = phoneFormatKit.format(info, toType: .international, withPrefix: true)

output :" +992 04" for "992000000004" output :" +992 06" for "992000000006" output :" +992 010" for "992000000010"

kmitj avatar Jan 11 '23 10:01 kmitj

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Mar 13 '23 03:03 github-actions[bot]

Any updates?

kmitj avatar Apr 12 '23 08:04 kmitj

Which version?

bguidolim avatar Apr 12 '23 09:04 bguidolim

Which version?

last 3.6.3

kmitj avatar Jul 03 '23 08:07 kmitj

Which version?

can you fix it

kmitj avatar Dec 01 '23 07:12 kmitj

Sure, this can be fixed. But first, quick question: are these actual phone numbers, or just an odd case you've found?

bguidolim avatar Dec 04 '23 13:12 bguidolim

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Feb 04 '24 03:02 github-actions[bot]