Conversation
+31 is the Dutch country code. See: https://en.wikipedia.org/wiki/Telephone_numbers_in_the_Netherlands
06 is exclusively used for mobile phone numbers. See: https://en.wikipedia.org/wiki/Telephone_numbers_in_the_Netherlands
stefannibrasil
left a comment
There was a problem hiding this comment.
Could you share a bit more of why these are valid now?
|
Sure! Previously Dutch phone numbers were using a fallback country code (I don't recall the exact one) which made them invalid. I think technically the only thing to make them valid is to use the correct My PR also adds cell phone number format because only numbers starting with Thinking about it I think I could update my PR so that |
stefannibrasil
left a comment
There was a problem hiding this comment.
Thanks for providing more context. LGTM 👍🏼
Motivation / Background
This Pull Request has been created because faker generates invalid Dutch phone numbers.
Additional information
Checklist
Before submitting the PR make sure the following are checked:
[Fix #issue-number]If you're proposing a new generator or locale: