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

6-digit EU-numbers #112

Closed
vegarda opened this issue Dec 5, 2023 · 4 comments
Closed

6-digit EU-numbers #112

vegarda opened this issue Dec 5, 2023 · 4 comments
Labels

Comments

@vegarda
Copy link

vegarda commented Dec 5, 2023

Will you support 6-digit EU-numbers?

https://en.wikipedia.org/wiki/Short_code#European_Union

https://nkom.no/telefoni-og-telefonnummer/telefonnummer-og-den-norske-nummerplan/alle-nummerserier-for-norske-telefonnumre#6sifrede_esharmoniserte_nummer

https://libphonenumber.appspot.com/phonenumberparser?number=116117&country=NO

Short Number Results
Result from isPossibleShortNumber() true
Result from isValidShortNumber() true
Result from isPossibleShortNumberForRegion() true
Result from isValidShortNumberForRegion() true

@grantila
Copy link
Owner

Not unless upstream libphonenumber supports it, as it doesn't seem to do now. Whenever a new libphonenumber is released with support for this, awesome-phonenumber will too!

@grantila grantila reopened this Aug 25, 2024
@grantila
Copy link
Owner

Sorry, missed that this is handled differently in libphonenumber, will look into it.

@grantila
Copy link
Owner

This is now available as the boolean fields shortPossible and shortValid.

Copy link

🎉 This issue has been resolved in version 6.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

No branches or pull requests

2 participants