Closed AnnaKai closed 3 years ago
Attempted to save a valid phone number Checked I was on the gem's latest version Read this similar issue.
Failed to save a Belgian phone number with area code 63 / 063
63
063
Phony.plausible?('+32 63 949 08 17', country_code: 'BE') Phony.plausible?('+32 063 949 08 17', country_code: 'BE') Phony.plausible?('63 949 08 17', country_code: 'BE') Phony.plausible?('639490817', country_code: 'BE') Phony.plausible?('+32639490817', country_code: 'BE') Phony.plausible?('32639490817', country_code: 'BE') => false
According to wiki, 63 is a valid area code in Belgium and according to http://www.wtng.info/wtng-32-be.html subscriber number can be 7 digits. So, I expected Phony.plausible? to return true
Phony.plausible?
true
Sorry, it was client's mistake
@AnnaKai No problem! 😊
What I did
Attempted to save a valid phone number Checked I was on the gem's latest version Read this similar issue.
What happened
Failed to save a Belgian phone number with area code
63
/063
What I expected to happen and why
According to wiki, 63 is a valid area code in Belgium and according to http://www.wtng.info/wtng-32-be.html subscriber number can be 7 digits. So, I expected
Phony.plausible?
to returntrue