[whatwg] [html5] datetime attribute
turnip at turnipspatch.com
Fri Jun 17 06:38:55 PDT 2005
Mikko Rantalainen wrote:
> Jonathan Leighton wrote:
>> the datetime attribute. The HTML4 specification says that "If a
>> generating application does not know the time to the second, it may use
>> the value "00" for the seconds (and minutes and hours if necessary)".
> But how can one define the exact time "00" if it cannot be
> distinguished from undefined one?
That's the whole point -- HTML4 says if you don't know it then put "00",
I'm saying that if you don't know if don't put anything so that UAs can
distinguish a value of "00" from a value that isn't known.
>> [...] I'd like all the formats in the W3C note on Date
>> and Time Formats to be permitted.
> with a note that other formats shouldn't be even considered)
Jonathan Leighton aka. Turnip
http://turnipspatch.com/ | http://digital-proof.org/
More information about the whatwg