Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Seven character strings come back as a valid number? #47

Open
mbhnyc opened this issue Jan 24, 2017 · 1 comment
Open

Seven character strings come back as a valid number? #47

mbhnyc opened this issue Jan 24, 2017 · 1 comment

Comments

@mbhnyc
Copy link

mbhnyc commented Jan 24, 2017

2.2.0 :016 > number = GlobalPhone.parse "aaaaaaa"
 => #<GlobalPhone::Number territory=#<GlobalPhone::Territory country_code=1 name=US> national_string="2222222"> 

That is deeply weird. Anyone know why or have a fix?

@mbhnyc
Copy link
Author

mbhnyc commented Jan 24, 2017

Ohhhhhh it's converting to E161. Yarg!

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

No branches or pull requests

1 participant