<html><body>
<p><tt>microformats-dev-bounces@microformats.org wrote on 05/23/2008 04:18:27 AM:<br>
<br>
> Examples of date formats I think are OK<br>
> <br>
> 2008-01-21<br>
> 20080121<br>
> 2007-05-01T11:30<br>
> 2007-05-01 11:30<br>
> 20070501 11:30</tt><br>
<br>
<tt>I thought the T was required?</tt><br>
<tt><br>
> 20070501T1130<br>
> 2007-05-01T11:30:15<br>
> 20070501T113015<br>
> 2007-05-01T11:30Z-08:00</tt><br>
<br>
<tt>Definitely invalid - Z and offset are mutually exclusive</tt><br>
<tt><br>
> 2007-05-01T11:30-08:00<br>
> 2007-05-01T11:30+08:00<br>
> 2007-05-01T11:30Z08:00<br>
> 20070501T1130Z-0800<br>
> 2007-05-01T11:30Z</tt><br>
<br>
<tt>Definitely invalid - Z and offset are mutually exclusive</tt><br>
<tt><br>
> 2007-05<br>
> 07-05-01 (equals 2007-05-01)<br>
> 070501 (equals 2007-05-01)</tt><br>
<br>
<tt>I sincerely hope noone would ever actually do anything like this. I'm not going to handle it in Operator.</tt><br>
<tt>I can't believe they even allow this. It's a specification. So they can say "Always have the year"</tt><br>
<br>
<tt>I hate ambiguity in dates and I hate parsing ISO dates.</tt><br>
<br>
<tt>> The last one is interesting <br>
> <a href="http://en.wikipedia.org/wiki/ISO_8601">http://en.wikipedia.org/wiki/ISO_8601</a> ...<br>
> "Although the standard allows both the YYYY-MM-DD and YYYYMMDD formats<br>
> for complete calendar date representations, if the day [DD] is omitted<br>
> then only the YYYY-MM format is allowed. By disallowing dates of the<br>
> form YYYYMM, the standard avoids confusion with the truncated<br>
> representation YYMMDD (still often used)."<br>
</tt><br>
<tt>Mike Kaply</tt></body></html>