nyaruka / phonenumbers

GoLang port of Google's libphonenumber library
MIT License
1.25k stars 148 forks source link

Parsing of NG number wrong #80

Closed nicpottier closed 3 years ago

nicpottier commented 3 years ago

See: https://play.golang.org/p/I76HGKRGPKG

Compare with upstream google which marks that number valid.

vasundhara785 commented 3 years ago

You have to add "+" before the number to indicate international number. It says valid if we add "+"

nicpottier commented 3 years ago

No, this should work for both. And it did. Looks like the changes in v1.0.60 broke this. I'm investigating.

nicpottier commented 3 years ago

Fixed in v1.0.62