local_number returns area code
Closed this issue · 2 comments
jasonperrone commented
I'm very confused. I thought that local_number was supposed to return the phone number without area code:
p = Phonelib.parse('+15173375337'); p.local_number => '(517) 337-5337'
Huh?
daddyz commented
@jasonperrone Local number actually returns number without country code but with local prefix, not the number within the state.
jasonperrone commented
Thanks @daddyz . Perhaps a suggested new format? ;-)