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
When formatting a number from outside the US or Canada as a national number, this library always prepend a 01 in front.
01
Here's an example with a number from Mexico
num = phonenumbers.parse('+523222222099') phonenumbers.format_number(num, phonenumbers.PhoneNumberFormat.NATIONAL) // OUT: u'01 322 222 2099'
I'd expect the national number to be 322 222 2099.
322 222 2099
The text was updated successfully, but these errors were encountered:
I get the same result from the upstream Java code, so please could you raise your worry with them?
(The Python version just tracks the Java code, so if the same behaviour occurs with both it's not a python-phonenumbers specific issue.)
Sorry, something went wrong.
No branches or pull requests
When formatting a number from outside the US or Canada as a national number, this library always prepend a
01
in front.Here's an example with a number from Mexico
I'd expect the national number to be
322 222 2099
.The text was updated successfully, but these errors were encountered: