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

Added 'en-NZ' option for isMobilePhone function. #452

Merged
merged 2 commits into from
Nov 20, 2015
Merged

Added 'en-NZ' option for isMobilePhone function. #452

merged 2 commits into from
Nov 20, 2015

Conversation

grawlinson
Copy link
Contributor

Added an extra option for New Zealand (en-NZ) mobile phones. Let me know if I need to do anything else.

Mobile phone numbers begin 02, followed by seven to nine digits (usually eight). The first few digits after the 02 indicate the original mobile network that issued the number.

Source. The country calling code can also be found on this page.

@chriso
Copy link
Collaborator

chriso commented Nov 20, 2015

Thanks. Can you update the README?

@grawlinson
Copy link
Contributor Author

Yup. Will do that shortly.

@grawlinson
Copy link
Contributor Author

OK, should be all done now. :)

@chriso
Copy link
Collaborator

chriso commented Nov 20, 2015

Perfect. Thanks!

chriso added a commit that referenced this pull request Nov 20, 2015
Added 'en-NZ' option for isMobilePhone function.
@chriso chriso merged commit 3863033 into validatorjs:master Nov 20, 2015
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.

2 participants