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

Add spanish validator for isMobilePhone (es-ES) #481

Merged
merged 1 commit into from Jan 31, 2016
Merged

Add spanish validator for isMobilePhone (es-ES) #481

merged 1 commit into from Jan 31, 2016

Conversation

ghost
Copy link

@ghost ghost commented Jan 30, 2016

I updated the files to accept spanish mobile phones. I included the RegExp, the test files and updated the README to show the changes.

This official document of the spanish Government explains the format used (page 2):
http://www.minetur.gob.es/telecomunicaciones/es-ES/Servicios/Numeracion/Documents/Presentation_NNP_Spain.pdf

@chriso
Copy link
Collaborator

chriso commented Jan 31, 2016

Brilliant, thanks!

chriso added a commit that referenced this pull request Jan 31, 2016
Add spanish validator for isMobilePhone (es-ES)
@chriso chriso merged commit 3d40230 into validatorjs:master Jan 31, 2016
@ghost ghost deleted the spanish-mobile-phone branch January 31, 2016 10:24
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

Successfully merging this pull request may close these issues.

1 participant