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

Adding country code twice for Luxemburg numbers #128

Closed
klaustopher opened this issue Jan 4, 2016 · 2 comments
Closed

Adding country code twice for Luxemburg numbers #128

klaustopher opened this issue Jan 4, 2016 · 2 comments

Comments

@klaustopher
Copy link
Contributor

Hi,

when trying to normalize a number based in Luxemburg, the country code gets added twice and the number does not validate anymore. I might have some time to investigate later, but just wanted to raise awareness...

PhonyRails.normalize_number('+352 454 565 4001', country_code: 'LU', default_country_code: 'DE')
=> "+3523524545654001"
@klaustopher
Copy link
Contributor Author

Just realized, there is floere/phony#276 ... I think this needs to be fixed there

@klaustopher
Copy link
Contributor Author

This is fixed in the current version of phony

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

1 participant