- From: James Brown <james@dreambreed.com>
- Date: Tue, 3 Jun 2003 00:42:08 +0100
- To: <www-html@w3.org>
[Appologies for the < and > values in my previous post- I should have guess the W3 would have used <pre>!. The corrected text should read as below.] Hi, Thank you for your comments. I agree that the tags would definately have to specify the type of date contained in the date field. That was kind of what I was trying to acheive by the format="us" or format="uk" attribute, but this is my first attempt at documenting an idea for the W3C so I'm sure I didn't express it properly! I was thinking along the lines of: <date format="us">05/07/03</date> - which the browser would interpret as 7th of May 2003, or: <date format="uk">05/07/03</date> - which the browser would interpret as 5th of July 2003. <date format="zh">05/07/03</date> - which the browser would interpret as 3rd of July 2005 (Chinese format) You could also have types for Julian dates, or even things like Japanese Imperial Dates, but then you'd think that if the programmer had a reason for using these dates in his web-page, then they may want to display them as they were originally written...! One problem I could also forsee with dates outside of the ordinary dd/mm/yyyy variant (such as Japanese Imperial Dates or even western long dates) would be that there is no exact way of writing them, compare: 25th of July 2003 25 July, 2003 25th-July-2003 In which case it may be possible to add a "display" attribute (or such like_ that would tell the browser how to display the date, eg: <date format="us" display="long">05/06/03</date> may display "5th June 2003" to a British user and "June 5th 2003" to an American user, while: <date format="us" display="short">05/06/03</date> may display "06/05/03" to a British user and "05/06/03" to an American user. Kind Regards, James Brown.
Received on Monday, 2 June 2003 19:43:29 UTC