W3C home > Mailing lists > Public > www-html@w3.org > June 2003

Re: Date Fields in HTML

From: Arthur Wiebe <webmaster@awiebe.com>
Date: Mon, 02 Jun 2003 17:17:19 -0400
Message-ID: <3EDBBEDF.2010808@awiebe.com>
To: James Brown <james@dreambreed.com>, www-html@w3.org

That's a good idea but there is a problem. The user agent would have to 
understand the date format the it's converting from and it has no way of 
telling whether or not 1/12/04 is supposed to be January 12, 2004 or 
December 1, 2004 or even some other date. Then you must also define what 
form to write the date in inside the date element.
In the spec it could say exactly how to write the date so the user agent 
knows how to convert it.

James Brown wrote:

>Would it not be useful for XHTML and HTML to include a date tag along the
>lines of:
>    &gt;date format="us"&lt;
>    &gt;date format="uk"&lt;
>to mark dates.  Enabled browsers could then convert the date to the
>preferred local format (as defined by the user's operating system).  This
>would prevent user error with unclear dates such as 04/06/03 or 07/04/2003,
>and would make reading foreign pages much easier.
>James Brown
Received on Monday, 2 June 2003 17:17:21 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:04 UTC