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

[whatwg] Error: 2nd example datetime for the time element

From: Ernest Cline <ernestcline@mindspring.com>
Date: Sun, 27 Apr 2008 19:03:30 -0400 (GMT-04:00)
Message-ID: <24680690.1209337410854.JavaMail.root@mswamui-backed.atl.sa.earthlink.net>
In section 3.10.10, the second example is:
 <time datetime="2006-09-24 05:00 -7">

However, the algorithm given in for parsing date or time strings requires that the timezone hour offset be exactly 2 digits.  (This is the same requirement ISO 8601 has.)  Hence, the example as given is invalid according to the provided parser algorithm, since it has only 1 digit.

Ernest Cline
Received on Sunday, 27 April 2008 16:03:30 UTC

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