Skip to content
New issue

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

add a phone number output in E164 format #1635

Open
ZhiVV opened this issue Jan 6, 2025 · 0 comments
Open

add a phone number output in E164 format #1635

ZhiVV opened this issue Jan 6, 2025 · 0 comments
Labels
enhancement Enhancement proposals

Comments

@ZhiVV
Copy link

ZhiVV commented Jan 6, 2025

Feature request

add a parameter to the function 'phone_number' that will return the result in the e164 format

Thesis

Currently, when executing the 'person.phone_number()' without param 'mask', the results are displayed in different national formats from execution to execution.
Example for Locale AR_DZ:
0578549188 or (+213) 0621880931
Example for Locale EN:
+1-909-131-2931 vs +15071035764

Reasoning

If some project used Google's common library libphonenumber to validate the entered phone numbers then, most likely, they store phones in the E164 format in the database. It will be more convenient to insert the generated phone numbers into the database or use them in autotests if they are immediately in the e164 format.

@lk-geimfari lk-geimfari added the enhancement Enhancement proposals label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement proposals
Projects
None yet
Development

No branches or pull requests

2 participants