Is it possible to use html5 datetime input style?
<input type="datetime" value="2011-08-18T16:49Z">
This ISO date and time format is not very readable. Is it possible to format the representation of a value using some template using CSS or in other ways?
EDIT: I just realized that this question is browser dependent. For example, Opera implements this tag with good control when the user simply cannot enter an invalid date. The browser will then generate a correctly formatted W3C date and time string and send it to the server. Firfox 6 provides only standard input and does not care about what was entered at all. Chrome has a simple input field, but a valid w3C string is required to enter the form.
So my question probably doesn't make any sense. Therefore, I will ask one more thing: are there any recommendations for browsers that standardize the functionality / presentation of these user input fields?
source
share