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

Not accepting 368 areacode #381

Open
csconner opened this issue Nov 21, 2023 · 0 comments
Open

Not accepting 368 areacode #381

csconner opened this issue Nov 21, 2023 · 0 comments

Comments

@csconner
Copy link

Working with this library, I noticed that area code "368" is not recognized as a valid number.

const phoneUtil = require('google-libphonenumber').PhoneNumberUtil.getInstance();

console.log(phoneUtil.isValidNumberForRegion(phoneUtil.parse('3682991912', 'US'), 'US')); // =>> false

368 is a new area code for Alberta Canada which was only activated in April of 2022: https://www.cbc.ca/news/canada/edmonton/new-phone-area-code-alberta-1.6217970

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