fix phone numner validation for ka-GE locale by avkvak · Pull Request #1952 · validatorjs/validator.js

@avkvak

Copy link Copy Markdown

@avkvak avkvak commented

Apr 1, 2022

edited

Loading

#1950

According https://en.wikipedia.org/wiki/Telephone_numbers_in_Georgia_(country)
Georgian phone number should consist of 12 digits started with +9955... or +99579... for mobile numbers

Checklist

  • PR contains only changes related; no stray files, etc.
  • README updated (where applicable)
  • Tests written (where applicable)

fix phone numner validation for ka-GE locale

70b028e

@codecov

Copy link Copy Markdown

codecov bot commented

Apr 1, 2022

edited

Loading

Codecov Report

Merging #1952 (b415ade) into master (c1b21a9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master     #1952   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          102       102           
  Lines         2085      2085           
  Branches       472       472           
=========================================
  Hits          2085      2085           
Impacted Files Coverage Δ
src/lib/isMobilePhone.js 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c1b21a9...b415ade. Read the comment docs.

update regexp

b415ade

@rubiin rubiin merged commit 678e55b into validatorjs:master

Jul 19, 2022

@rubiin

Copy link Copy Markdown

Member

rubiin commented

Jul 19, 2022

Thankyou for the contribution 🎉

@profnandaa profnandaa mentioned this pull request

Feb 2, 2023

@rntvicente rntvicente mentioned this pull request

May 24, 2024

@sahilpawar58 sahilpawar58 mentioned this pull request

May 25, 2024

@ChinmoyHembram ChinmoyHembram mentioned this pull request

May 25, 2024

@fossabot fossabot bot mentioned this pull request

Oct 28, 2025