phonenumber icon indicating copy to clipboard operation
phonenumber copied to clipboard

With a given country and phone number, validate and format the MOBILE phone number to E.164 standard

Results 6 phonenumber issues
Sort by recently updated
recently updated
newest added

US and CA have the same country code, hence if you call `GetISO3166ByNumber()` with `withLandline=true` it will always return `US` even for Canadian *mobile* numbers - as per https://github.com/dongri/phonenumber/blob/master/phonenumber.go#L106 To...

Currently library supports just "3" prefix for begening in Bahrain numbers. But there are "6" and "7" prefix. So could you add new prefixes? For example +97366622125 ``` i.Alpha2 =...

The library incorrectly identifies an invalid USA phone number as Jamaica number. Example: `phonenumber.ParseWithLandLine("+1 289 2999", "US")` Expected output: "". Actual output: +12892999. I believe that since the length matched...

Hey, Firstly: thank you for this package; it's saved me a lot of work, and I'm very grateful for it. I'm having a similar issue to https://github.com/dongri/phonenumber/issues/45 Given the UK...

https://github.com/dongri/phonenumber/issues/49 Fix this issue

Thanks for this useful package. I wanted to reuse the data in higher order systems . But I want to ensure the data s correct and keeps up to date...