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

Sierra Leone phone number validation incorrect #1557

Closed
molaycule opened this issue Dec 19, 2020 · 1 comment
Closed

Sierra Leone phone number validation incorrect #1557

molaycule opened this issue Dec 19, 2020 · 1 comment

Comments

@molaycule
Copy link

Describe the bug
The isMobilePhone validator doesn't work for Sierra Leone phone numbers.

Examples
This phone number: +23274560591 appears as invalid, but it's actually valid.

Additional context
Validator.js version: 13.5.2

@ezkemboi
Copy link
Member

@moodele I am sorry about this.
I can admit that the Sri Lanka locale was added as Sierra Leone locale.
I am working to fix this and add Sierra Leone locale has en-SL

ezkemboi added a commit to ezkemboi/validator.js that referenced this issue Dec 20, 2020
@ezkemboi ezkemboi self-assigned this Dec 20, 2020
ezkemboi added a commit to ezkemboi/validator.js that referenced this issue Apr 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants