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

Number in country code CI became invalid as of 0.6.51 #230

Open
theblang opened this issue Jun 16, 2021 · 2 comments
Open

Number in country code CI became invalid as of 0.6.51 #230

theblang opened this issue Jun 16, 2021 · 2 comments
Labels
missing validation data data for some prefix/country is missing in the souce

Comments

@theblang
Copy link

I created a sample number based off the number of one of our users. Running Phonelib.valid?('+22501234567') returns true in 0.6.50, but false in 0.6.51. I glanced at the libphonenumber changelog, perhaps 8.12.23 or 8.12.22 is to blame?

@theblang theblang changed the title Number in country code CI became no longer valid in 0.6.51 Number in country code CI became invalid as of 0.6.51 Jun 16, 2021
@daddyz
Copy link
Owner

daddyz commented Aug 24, 2021

@theblang Yes, I always advice to check here. Check add_additional_regex documentation, it may help solving the issue. Or you can open an issue for libphonenumber here

@daddyz daddyz added the missing validation data data for some prefix/country is missing in the souce label Aug 24, 2021
@theblang
Copy link
Author

theblang commented Jan 25, 2022

Oh funny, looks like phone numbers were restructured there to have an additional "two digit provider code". But it seems like all of our 225 Ivory Coast users still have a number in the old system. Doesn't it seem like libphonenumber would continue to support the old system for a time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing validation data data for some prefix/country is missing in the souce
Projects
None yet
Development

No branches or pull requests

2 participants