We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Faker::PhoneNumber.cell_phone_in_e164 generates phone numbers that are invalid according to Phonelib / https://github.com/daddyz/phonelib
Faker::PhoneNumber.cell_phone_in_e164
a = Faker::PhoneNumber.cell_phone_in_e164; puts(a); puts Phonelib.valid?(a)
Run in different locales and loop until second output is false. Example:
+4915302892971 false
The locale used to produce this was de. The phone number is one digit too long for a number from Germany.
de
The text was updated successfully, but these errors were encountered:
Anyone started to work in this issue?
Sorry, something went wrong.
hopefully it's just a matter of updating the format:
faker/lib/locales/en-GB.yml
Line 13 in af05321
@gkunwar if you want to take a look at this issue, feel free to do it. Thanks!
Thanks @thdaraujo , I will look into it.
Thanks for reporting this bug! To help with bug triage, I will mark this one as duplicate of #2047
gkunwar
No branches or pull requests
Describe the bug
Faker::PhoneNumber.cell_phone_in_e164
generates phone numbers that are invalid according to Phonelib / https://github.com/daddyz/phonelibTo Reproduce
a = Faker::PhoneNumber.cell_phone_in_e164; puts(a); puts Phonelib.valid?(a)
Run in different locales and loop until second output is false. Example:
The locale used to produce this was
de
. The phone number is one digit too long for a number from Germany.The text was updated successfully, but these errors were encountered: