feat(isMobilePhone): add en-BW locale by mgndolan · Pull Request #1771 · validatorjs/validator.js
added 3 commits
October 10, 2021 13:47
mgndolan
changed the title
Fixed mobile phone validation for en-BW
feat: (isMobilePhone) Fixed mobile phone validation for en-BW
mgndolan
changed the title
feat: (isMobilePhone) Fixed mobile phone validation for en-BW
feat: (isMobilePhone) Added mobile phone validation for en-BW
Fixed the pattern for Botswana mobile phone numbers and edited the test cases. I followed the convention from Table 8 of the national numbering plan document and the mobile number pattern on the Wiki page.
profnandaa
changed the title
feat: (isMobilePhone) Added mobile phone validation for en-BW
feat(isMobilePhone): add en-BW locale
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