3 ms·
1. You just can't do it reliably, because there are people (entire nations/cultures) who don't even have names fitting first/last model. It's a can of worms, v
by pornel 15y ago
1. You just can't do it reliably, because there are people (entire nations/cultures) who don't even have names fitting first/last model.
It's a can of worms, very well explained here: http://www.w3.org/International/questions/qa-personal-names http://www.w3.org/International/questions/qa-personal-names
and here's an interesting edge case: http://www.chaos.org.uk/~wookey/name.html http://www.chaos.org.uk/~wookey/name.html
3. <input type=date> will use localized format for editing (browsers are free to use any format/calendar widget), but always send YYYY-MM-DD to the server.