I have noticed that if I use the
date input type, it requests the date in
dd/mm/yyyy format (the right format, rather than the US format ) but the value is returned in the POST array in the format
yyyy-mm-dd - at least it does in FF, Chrome and Edge.
However, if the browser doesn’t support the
date input type, the value is treated as a text field (which I gather is the fallback for the newer input types) and passed in the format
dd/mm/yyyy as entered.
This makes validating the date a bit of a PITA as I need to check the format of the returned value.
Have I understood this correctly. or have I missed something?