[uf-dev] DTSTART needs value=date for all-day events

Dan Connolly connolly at w3.org
Mon Jan 8 11:08:57 PST 2007


In the hCalendar tests, I see

DTSTART:20060315

in, for example, component-vevent-rdate.ics .

The default value type for DTSTART is DATE-TIME, but
20060315 is not a DATE-TIME; you can use DATE values in
DTSTART, but you have to be explicit:

 DTSTART;VALUE=DATE:20060315

RFC2445 had some misleading examples, but they were fixed
in 2006-10-04 edit
http://tools.ietf.org/wg/calsify/draft-ietf-calsify-rfc2445bis/draft-ietf-calsify-rfc2445bis-03.html#DATE_TIME_START

I don't have a patch for x2v nor the tests yet.

But the following test data seems to be bad:

01-component-vevent-dtstart-date.ics:DTSTART:19970903
03-component-vevent-dtend-date.ics:DTSTART:19970903
05-calendar-simple.ics:DTSTART:20051005
08-component-vevent-multiple-classes.ics:DTSTART:20051005
09-component-vevent-summary-in-img-alt.ics:DTSTART:20060306
14-calendar-anniversary.ics:DTSTART:19971102
15-calendar-xml-lang.ics:DTSTART:20051005
16-calendar-force-outlook.ics:DTSTART:20051005
17-component-vevent-description-value-in-subelements.ics:DTSTART:20060118
calendar-del.ics:DTSTART:20051005
calendar-html-lang.ics:DTSTART:20051005
calendar-lang-sub-lang.ics:DTSTART:20051005
component-vevent-description-value-in-subelements-2.ics:DTSTART:20060118
component-vevent-rdate.ics:DTSTART:20060118
component-vevent-rdate.ics:DTSTART:20060215
component-vevent-rdate.ics:DTSTART:20060315

I'm working from:

changeset:   334:6028b022c67f
tag:         tip
user:        brian suda http://suda.co.uk/
date:        Tue Nov 28 23:38:40 2006 +0000
summary:     added test for trailing slash in rel-tag
http://hg.microformats.org/tests


-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E



More information about the microformats-dev mailing list