Closed sobolevn closed 6 years ago
Country code can not be less than 1.
1
telephone() method uses custom_code to generate a phone number, but there this rule is not respected: https://github.com/lk-geimfari/mimesis/blob/master/mimesis/utils.py#L205
telephone()
custom_code
As it can generate something like +0-(...)-...
+0-(...)-...
Reference: https://countrycode.org/
@sobolevn Thank you! I'll fix it today.
Country code can not be less than
1
.telephone()
method usescustom_code
to generate a phone number, but there this rule is not respected: https://github.com/lk-geimfari/mimesis/blob/master/mimesis/utils.py#L205As it can generate something like
+0-(...)-...
Reference: https://countrycode.org/