W3C home > Mailing lists > Public > www-html@w3.org > November 2002

Re: HTML has, probably, confusing date format

From: Christian Wolfgang Hujer <Christian.Hujer@itcqis.com>
Date: Tue, 26 Nov 2002 07:14:45 +0100
To: cyril2@mail.ru, cyril@aha.ru, www-html@w3.org
Message-Id: <200211260714.45290.Christian.Hujer@itcqis.com>

Hello Cyril, dear list members,

Am Montag, 25. November 2002 22:41 schrieb Cyril:
> Dear Sirs,
> I am afraid that an inconvenient date format
> (http://www.w3.org/TR/html401/types.html#type-datetime AND
> http://www.w3.org/TR/NOTE-datetime AND
> http://www.ietf.org/internet-drafts/draft-newman-datetime-01.txt) has
> been chosen to represent dates in HTML, the format
> "YYYY-MM-DDThh:mm:ssTZD". In this format a month is represented by two
> digits, i. e. similar way as a day representation. Since it is so, I am
> very afraid that the day data could be confused with month data in one
> snap, in other words, very, very easily. (Two times "very" because, as
> you can feel, I am worry about such a choice very much.) I consider any
> date formats as confusing if it represents month by digits, not by
> letters. Why not represent month by 3 letters, for example "Jan" or
> "Sep". Sirs, if possible, let me know, is this date format is one and
> only legal date/time strings
> (http://www.w3.org/TR/html401/struct/text.html#adef-datetime) in HTML?
And how am I supposed to *easily* compare Jan / Feb / Mar for sorting? The 
required hash is too much complication compared to the ease of current 
datetime comparison.

And if you say Jan / Feb / Mar others will come and demand localized names for 

No, leave it as it is.

It is a common known order to use year, month, day, hour, minutes, seconds 
because that is the easiest and best sortable sequence. And do not cut down 
the month field to a "one or two" digits, otherwise sorting would be much too 

Anyway there are only two html elements using an attribute of type Datetime: 
<ins/> and <del/>.

Christian Wolfgang Hujer
Geschäftsführender Gesellschafter
Telefon: +49  (0)89  27 37 04 37
Telefax: +49  (0)89  27 37 04 39
E-Mail: Christian.Hujer@itcqis.com
WWW: http://www.itcqis.com/
Received on Tuesday, 26 November 2002 13:20:43 UTC

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