iCalendar的UNTIL属性出错

时间:2011-11-06 19:38:40

标签: google-calendar-api icalendar

我在icalendar验证器上测试了这个日历(http://severinghaus.org/projects/icv/)它说,无效的属性UNTIL,我无法找到原因。有人可以帮忙。

BEGIN:VCALENDAR
PRODID;X-RICAL-TZSOURCE=TZINFO:-//com.denhaven2/NONSGML ri_cal gem//EN
CALSCALE:GREGORIAN
VERSION:2.0
METHOD:REQUEST
BEGIN:VEVENT
CREATED;VALUE=DATE-TIME:20111106T192735Z
DTEND;VALUE=DATE-TIME:20111107T190000Z
STATUS:CONFIRMED
DTSTART;VALUE=DATE-TIME:20111107T180000Z
TRANSP:OPAQUE
DTSTAMP;VALUE=DATE-TIME:20111106T192735Z
LAST-MODIFIED;VALUE=DATE-TIME:20111106T192735Z
UID:availability_slot332@chronus.com
DESCRIPTION:Availability slot from mentoring program
SUMMARY:Mentoring Slot
ORGANIZER:iitm_mentor2@chronus.com
RRULE;UNTIL=20111130T183000Z;WKST=MO:FREQ=DAILY
EXRULE:FREQ=WEEKLY;BYDAY=SA,SU
LOCATION:Los Angeles
SEQUENCE:0
END:VEVENT
END:VCALENDAR

1 个答案:

答案 0 :(得分:3)

冒号需要在RRULE之后,而不是在WKST之后,显然:

RRULE:UNTIL=20111130T183000Z;WKST=MO;FREQ=DAILY