[whatwg] <time> authoring hints and API suggestion

It's quite clear how conformance checkers have to check the datatime=""  
attribute and the contents of the element, but what authors have to do is  
not made very clear in the document.

As for the APIs. Is there any reason you can't just reuse the ECMAScript  
Date object? (Other languages would have to provide their own API.) It's  
flexible enough to provide all the information you need. If you only  
provide a time as author there might be lots of other information in the  
Date object that isn't usable (represents "today", I suppose), but you'd  
know that or you could provide hints to that effect by making date, time  
and timezone booleans.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Sunday, 26 November 2006 03:46:11 UTC