Uh oh!
There was an error while loading. Please reload this page.
feat: (isMobilePhone) add El Salvador validation - #1766
Conversation
Codecov Report
@@ Coverage Diff @@## master #1766 +/- ##
=========================================
Coverage 100.00% 100.00% =========================================
Files 102 102 Lines 2029 2029 Branches 457 457 =========================================
Hits 2029 2029
Continue to review full report at Codecov.
|
tux-tn
left a comment
There was a problem hiding this comment.
Hello @hereje and thank you for your PR!
The regex should only validate mobile phone numbers, looks like yours is also validating landline numbers. Please make the necessary changes to allow only mobile phones.
You can use this document from ITU or the Wikipieda article to know how mobile phones work in El Salvador
* Solve issue with wrong validation on El Salvador mobile phones * update tests accordingly in order to define the right regEx, the following site was consulted. https://www.siget.gob.sv/guia-de-servicios/consulta-el-plan-de-numeracion/numeros-moviles/
hereje
commented
Oct 13, 2021
Done |
hereje
commented
Oct 18, 2021
@tux-tn Yes it is! |
tux-tn
commented
Oct 18, 2021
Yes sir ! That's why i asked 😃 |
profnandaa
left a comment
There was a problem hiding this comment.
LGTM, thanks for your contrib! 🎉
profnandaa
commented
Oct 30, 2021
@hereje -- please fix the merge conflict on README and we should be good. |
profnandaa
commented
Oct 31, 2021
Will be merged in #1851, no worries your commit contribution will be preserved. Thanks! |
feat: (isMobilePhone) add El Salvador validation
Add mobile phone validation for El Salvador
Related to issue: #1761
Checklist