-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
When use TelephoneNumber.parse("621791146")
the phone number is identified as an Indonesian number by default
But in this case, it's a Luxembourg number
Here, it confuses the Indonesian country code with a number base valid in 62 Luxembourg.
TelephoneNumber.parse("621791146")
#<TelephoneNumber::Number:0x00005555837144f8 @original_number="621791146", @country=#<TelephoneNumber::Country:0x00005555842b8ef8 @country_code="62", @country_id="ID", ...
TelephoneNumber.parse("621791146").e164_number
# "+62621791146"
TelephoneNumber.parse("621791146", :LU).e164_number
# "+352621791146"
Metadata
Metadata
Assignees
Labels
No labels