We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example case:
parsedNumber, err := libphonenumber.Parse("+8201038791365", "") formattedNumber := libphonenumber.Format(parsedNumber, libphonenumber.E164) fmt.Printf("formatted number: %s \n", formattedNumber) fmt.Printf("possible: %v \n", libphonenumber.IsPossibleNumber(number)) fmt.Printf("valid: %v \n", libphonenumber.IsValidNumber(number))
returns
formatted number: +821038791365 possible: false valid: true
This number should be a possible number according to the Google lib source of truth.
I believe this issue was introduced by #79, as commits prior to hash 7104f0e work as expected.
7104f0e
This could potentially be a similar issue to #63, since isPossible is returning false but isValid is returning true.
isPossible
false
isValid
true
The text was updated successfully, but these errors were encountered:
same issue occurring to us
Sorry, something went wrong.
+1
same here +1, got error in US number.
No branches or pull requests
Example case:
returns
This number should be a possible number according to the Google lib source of truth.
I believe this issue was introduced by #79, as commits prior to hash
7104f0e
work as expected.This could potentially be a similar issue to #63, since
isPossible
is returningfalse
butisValid
is returningtrue
.The text was updated successfully, but these errors were encountered: