W3C home > Mailing lists > Public > public-html@w3.org > June 2007

Re: Dates in HTML 5

From: Robert Burns <rob@robburns.com>
Date: Wed, 27 Jun 2007 13:40:52 -0500
Message-Id: <03A57F5C-4B51-4608-A620-1E5EC0A4CBD6@robburns.com>
Cc: public-html@w3.org
To: a@simongrant.org


On Jun 26, 2007, at 5:15 AM, Simon Grant wrote:

>
> Hi
>
> In the HTML 5 W3C Editor's Draft 23 June 2007
> http://dev.w3.org/cvsweb/~checkout~/html5/spec/Overview.html? 
> content-type=text/html;%20charset=iso-8859-1#documents
>
> I was dismayed to find a ghastly local practice for the date in 2.1.2.
>
> "The lastModified attribute, on getting, must return the date and time
> of the Document's source file's last modification, in the user's local
> timezone, in the following format:
>
>      1. The month component of the date.
>      2. A U+002F SOLIDUS character ('/').
>      3. The day component of the date.
>      4. A U+002F SOLIDUS character ('/').
>      5. The year component of the date.
>      6. A U+0020 SPACE character.
>      7. The hours component of the time.
>      8. A U+003A COLON character (':').
>      9. The minutes component of the time.
>     10. A U+003A COLON character (':').
>     11. The seconds component of the time. "
>
> Can't we have an ISO standard date-time here? Please?

I was surprised by the same thing (and I live where we use that  
ghastly local practice). Since it deals with an area in which I'm not  
familiar, I thought it was just hard-coding the widespread practice.  
But as I said I don't know about this area of the spec.

Take care,
Rob
Received on Wednesday, 27 June 2007 18:41:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:01 GMT