[CalendarServer-users] can't import har2009 calendar

Cyrus Daboo cdaboo at apple.com
Fri Jul 24 07:08:40 PDT 2009

Hi Jelle,

--On July 24, 2009 3:06:09 PM +0200 Jelle de Jong 
<jelledejong at powercraft.nl> wrote:

> I received some private mails, so please keep the discussion on the
> mailinglist.
> I don't know if the schedule.en.ics complies with the standard, it seems
> to be there are DTSTART in the document and the calender does load in a
> non darwin caldav ical calender.
> Are there any ical validators? Could somebody check if this is an issue
> with the file or with the darwin calenderserver?

The calendar data is invalid in several ways:

1) Many VEVENT components have both a DTEND and a DURATION property 
present. iCalendar states that only one of those must be present (or 

2) The VTIMEZONE component at the end has an empty DAYLIGHT sub-component.

To fix these do the following:

1) Remove all lines starting with "DURATION:"
2) Remove the VTIMEZONE component, and replace it with the one on your 
server at 
(which is considerably longer).

Once you have done that you should be able to import.

You should contact whoever generated the .ics and let them know of these 

Cyrus Daboo

More information about the calendarserver-users mailing list