Skip to content
New issue

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

isPossibleNumber(withReason... returns incorrect case for local number #385

Open
adarak opened this issue Jan 20, 2023 · 0 comments
Open

Comments

@adarak
Copy link

adarak commented Jan 20, 2023

Tested this in a fresh project: when you parse a 7 digit number (region US), and then loosely validate with isPossibleNumber(withReason it returns IS_POSSIBLE rather than IS_POSSIBLE_LOCAL_ONLY

This also seems to occur with local numbers in Australia region as well; these are the only two areas I've tested.

This does not occur on the original LibPhoneNumber repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant