Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

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

Comments

Projects
None yet
2 participants
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.

Owner

joost commented May 6, 2013

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

@joost joost added a commit that referenced this issue May 6, 2013

@joost joost Fix github issue #22. #22 7edccc3

@joost joost closed this May 6, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment