W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2008

[whatwg] input=datetime and unixtime?

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 10 Nov 2008 21:01:02 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0811102058200.1237@hixie.dreamhostps.com>
On Wed, 30 Jul 2008, Tab Atkins Jr. wrote:
>
> I did some searching through the archives, but didn't find anything at 
> all that talked about this.  Out of curiousity, was there a reason that 
> datetime doesn't store/send it's value as a unix timestamp?  True, the 
> standard unixtime unit is insufficient for representing a useful range 
> of dates, but systems are gradually moving toward representing unixtime 
> with a 64-bit integer.

The main reason for using the human-readable form is that we want the 
value="" attribute to be human-writable, and we want the value="" 
attribute value to be round-trippable in down-level clients.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 10 November 2008 13:01:02 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:07 UTC