W3C home > Mailing lists > Public > public-html@w3.org > July 2009

Re: Date attributes on HTMLTimeElement

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 19 Jul 2009 10:50:04 +0000 (UTC)
To: Cameron McCormack <cam@mcc.id.au>
Cc: public-html@w3.org
Message-ID: <Pine.LNX.4.62.0907191049120.23663@hixie.dreamhostps.com>
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

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:48 UTC