Search code examples
icalendarvcalendarrfc5545vcal

Mulit-Day All-Day Event


I am having issues getting the right syntax for an all day event which spans multiple days. Here is my ICAL event:

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//http://XXX//Event
METHOD:PUBLISH
BEGIN:VEVENT
DTSTART;TZID="America/Chicago";VALUE=DATE:20150809
DTEND;TZID="America/Chicago";VALUE=DATE:20150812
SUMMARY:Event Name
DESCRIPTION:Event Description
LOCATION:Event Location
END:VEVENT
END:VCALENDAR

Shows up great in Mac Calendar: enter image description here

But in Outlook, it starts at 1AM and isn't marked as all day: enter image description here


Solution

  • From what I just tested, it seems that Outlook does not allow all-day ICAL events to have a timezone specified. Seems stupid, but changing the file to this made it work:

    BEGIN:VCALENDAR
    VERSION:2.0
    PRODID:-//http://XXX//Event
    METHOD:PUBLISH
    BEGIN:VEVENT
    DTSTART;VALUE=DATE:20150809
    DTEND;VALUE=DATE:20150812
    SUMMARY:Event Name
    DESCRIPTION:Event Description
    LOCATION:Event Location
    END:VEVENT
    END:VCALENDAR