[whatwg] Consistency of date formats between WF 2.0 and WA 1.0

On Nov 19, 2006, at 23:53, Henri Sivonen wrote:

> On Nov 18, 2006, at 12:48, Henri Sivonen wrote:
>
>> Why do WA 1.0 datetime formats for attributes allow space around  
>> "T" or multiple spaces in place of "T" when WF 2.0 only allows  
>> "T"? Also, why are spaces allowed before the time zone designator  
>> in the attribute variants in WA 1.0 when WF 2.0 does not allow  
>> spaces before "Z"?
>
> The optional spaces in attribute values and replacing "T" with  
> space are also a change from the format prescribed in HTML 4.01:
> http://www.w3.org/TR/1999/REC-html401-19991224/types.html#h-6.11
>
> Wouldn't it be prudent to stick to the HTML 4.01 format for  
> attribute values?

Also, for consistency with WF 2.0 and HTML 4.01, I suggest that  
vaguer moments in time *in attributes* not allow spaces in conforming  
strings and require T as the date/time separator.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/

Received on Sunday, 19 November 2006 14:08:52 UTC