You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@yann120 do you have any way to provide country for phone validator? Or in case you are parsing french phones only you can define default_country for the gem.
Hello,
We have found an edge case bug with the parse function of Phonelib.
Phonelib.parse(number)
works fine for every 10 digits french numbers like0635374637
but with numbers starting with 0685, it have a weird behaviour.
For exemple parsing the number
0685123456
will have this outputIt understands that the country code is
685
and the national number123456
the national number should be
0685123456
and not123456
Any idea how we could fix this ?
Thanks ! 😄
The text was updated successfully, but these errors were encountered: