Hacker News new | past | comments | ask | show | jobs | submit login

I would personally add one (maybe I'll do a PR): Phone number formats never change for a particular country.

Vietnam just removed a few months ago one digit of all the mobile phones making all the previous number recorded for the country invalid.




+1 from India.

There's popular app in Bangalore that you can use to rent bicycles. I can't use it because my phone number (which has a relatively newly released starting digit series) doesn't pass their signup validation.

So frustrating.

It's frustrating indeed.


Related: email validation that doesn’t allow for + in usernames or any of the newfangled hipster fad TLDs.


So much this. Iran's phone number formats have changed at least 4 times in the past 20 years, and I am sure many more times if you go back a couple more decades.


Also "each country has a single format".

Belgium uses 9 digits (leading 0 included) for landlines and 10 digits (leading 0 included) for cell phones.


Yup. Another example: Poland dropped a "0" prefix from area codes for landlines some ten years ago.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: