Closed abhispares closed 1 year ago
Any updates on it?
@abhispares the issue appears due to possible double country prefix
Phonelib.parse("88097679","IN").international # => "+91 91880 97679"
Phonelib.parse("9188097679","IN").international # => "+91 91880 97679"
But in case of + in the beginning, it's not added. The behaviour is not ok to add it twice, I will look into it
@abhispares just released new v0.8.1 with the fix
example: Phonelib.valid_for_country?("88097679","IN"). => true. {which is incorrect}
whereas
Phonelib.valid_for_country?("+9188097679","IN"). => false. {which is correct}