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

[whatwg] Expanding datetime

From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
Date: Thu, 31 Jul 2008 14:49:58 +0100
Message-ID: <4891C306.5050601@googlemail.com>
WeBMartians wrote:
> Believe it or not, Yes!
> Consider the couple to be congratulated on their gazillionth anniversary. Is that diamond, gold, platinum? Whatever it is, if your
> date time system is limited to epoch 1970, you're out of luck. That's why I claim that restrictions (rigorously documented) are OK
> as long as they are not ludicrous - "ludicrous" being a gray area, rather than a sharp line - 1970 definitely is, 1900 is probably
> OK, 1582 is interesting and far less ludicrous, while -9999 is very safe but maybe ludicrous in other ways (prolepsis, locales...).

For what it's worth, the proposed spec already defines rigorous limits

"Dates before the year 0 or after the year 9999 can't be represented as 
a datetime in this version of HTML."


Benjamin Hawkes-Lewis
Received on Thursday, 31 July 2008 06:49:58 UTC

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