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

Valid phone number from Bolivia #1413

Closed
icyice0217 opened this issue Aug 19, 2020 · 4 comments · Fixed by #1460
Closed

Valid phone number from Bolivia #1413

icyice0217 opened this issue Aug 19, 2020 · 4 comments · Fixed by #1460

Comments

@icyice0217
Copy link
Contributor

icyice0217 commented Aug 19, 2020

Hello everyone, we need add 'es-BO' locale in isMobilePhone.js lib to do validation for Bolivia mobile phones.
Country code: +591
format mobile phones: ( [+591] )? [67] [XXXXXXX]
[X] phone number: always 7 digits
I've made an initial expression as:
/^(\+591)?[67]\d{7}$/
Please improve the expression and add it into lib
for more info about Libya phone codes see : areaphonecodes
Best Regards

@rubiin
Copy link
Member

rubiin commented Aug 19, 2020

taking this one too @profnandaa

@rubiin rubiin mentioned this issue Oct 5, 2020
3 tasks
profnandaa pushed a commit that referenced this issue Oct 7, 2020
closes #1413

* added bolivia phone

* Update isMobilePhone.js

* Update isMobilePhone.js

* Update validators.js

* fixed test
@michaeljota
Copy link

Thanks for the hard work! Do you think this will be in a release soon?

@rubiin
Copy link
Member

rubiin commented Oct 8, 2020

Thanks for the hard work! Do you think this will be in a release soon?

@profnandaa can fill you on this

@profnandaa
Copy link
Member

Sure, we should do a release somewhere mid next month in our bi-monthly cadence.

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

Successfully merging a pull request may close this issue.

4 participants