Re: Date attributes on HTMLTimeElement

On Fri, 3 Jul 2009, Cameron McCormack wrote:
>
> If I understand correctly, the intention is for the Date identifier in 
> HTML 5’s IDL to mean an ECMAScript Date object.  What’s the point of 
> having separate date/time/timezone attributes on HTMLTimeElement?  Is 
> there any advantage over just having a single attribute where the date, 
> time and timezone information are all in the one Date object?

There's not always a date, there's not always a time, and even when 
there's both, there's not always a timezone.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Sunday, 19 July 2009 10:50:40 UTC