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

Leading 0 is removed for Brazilian numbers #465

Closed
iqHpi opened this issue Jul 3, 2024 · 3 comments
Closed

Leading 0 is removed for Brazilian numbers #465

iqHpi opened this issue Jul 3, 2024 · 3 comments

Comments

@iqHpi
Copy link

iqHpi commented Jul 3, 2024

$ console.log(parsePhoneNumber('+55 0-800-5700800').number)
+558005700800

Expected output is +5508005700800

@iqHpi iqHpi changed the title Leading 0 is removed for Brazilian number Leading 0 is removed for Brazilian numbers Jul 3, 2024
@catamphetamine
Copy link
Owner

That's the expected behavior

@iqHpi
Copy link
Author

iqHpi commented Jul 7, 2024

But the number can't receive international calls when the leading 0 is removed.

@catamphetamine

@catamphetamine
Copy link
Owner

catamphetamine commented Jul 8, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants