phone icon indicating copy to clipboard operation
phone copied to clipboard

+74955087965

Open glebm opened this issue 14 years ago • 3 comments

Phone.parse '+7495508796' #=> nil

Returns nil but is a valid phone number (see http://housing.justlanded.com/en/Russia_Moscow/For-Rent_Apartments/4-bedroom-flat-for-rent-in-Moscow-1218248)

glebm avatar Sep 29 '10 00:09 glebm

this is Russia I guess? Can you please send me a test case how this should be parsed (see http://github.com/carr/phone/tree/master/test/countries/) and I'll fix it

carr avatar Sep 29 '10 12:09 carr

Hi This is Russia I am not that familiar with your library, I was just evaluating it yesterday

+7 is the country code 495 is the area code the rest is the phone number

glebm avatar Sep 29 '10 12:09 glebm

I'm going to be making a pass through issues soon. See #41.

elskwid avatar May 09 '13 18:05 elskwid