[whatwg] [html5] datetime attribute

Mikko Rantalainen wrote:

> Jonathan Leighton wrote:
>
>> the datetime attribute. The HTML4 specification says[2] 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[4] to be permitted.
>
> with a note that other formats shouldn't be even considered)

Agreed

Jon

-- 
Jonathan Leighton aka. Turnip
http://turnipspatch.com/ | http://digital-proof.org/

Received on Friday, 17 June 2005 06:38:55 UTC