Add mobile number prefix 162 and 165 to zh-CN locale ismobilePhone #1655 by laulujan · Pull Request #1695 · validatorjs/validator.js
Conversation
Add isMobilePhone China prefix 162 and 165
As requested by #1655 and according https://en.wikipedia.org/wiki/Telephone_numbers_in_China, prefix 162 and 165 are valid for mobile numbers in China.
Checklist
- [ x] PR contains only changes related; no stray files, etc.
- [ x] README updated (where applicable)
- [ x] Tests written (where applicable)
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for your contribution! 🎉
IMHO, this modification is meaningless, but thank you for your contribution. Please refer to my PR #1682
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters