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

Detect if phone number has country code specified and use that #22

Closed
espen opened this issue May 6, 2013 · 1 comment
Closed

Detect if phone number has country code specified and use that #22

espen opened this issue May 6, 2013 · 1 comment

Comments

@espen
Copy link
Contributor

espen commented May 6, 2013

PhonyRails.normalize_number('+4790909090', :default_country_code => 'SE') should return 4790909090 as it is already defined with Norwegian country code (+47). Now it adds swedish country code (+46) and returns 464790909090.

@joost
Copy link
Owner

joost commented May 6, 2013

Yes it should. Fix with pull request would be great :)

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