[kronolith] All Day Events in iCal
Tim Glen
tim at nonfiction.ca
Mon Nov 10 13:48:16 PST 2003
I'm publishing to an iCal file and noticed that 'all day' events were
covering the whole day in iCal rather than being treated the standard
'all day' iCal method. To test it out, I exported an all day event from
iCal to see how it treats the start and end times. Here is the output
of that:
BEGIN:VCALENDAR
VERSION:2.0
X-WR-CALNAME:Work
PRODID:-//Apple Computer\, Inc//iCal 1.5//EN
X-WR-RELCALID:4D44F835-13C3-11D8-A392-000A957841AA
X-WR-TIMEZONE:Canada/Mountain
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
DTSTART;VALUE=DATE:20031110
DTEND;VALUE=DATE:20031111
SUMMARY:New Event
UID:4D44EE21-13C3-11D8-A392-000A957841AA
SEQUENCE:4
DTSTAMP:20031110T211627Z
END:VEVENT
END:VCALENDAR
Notice:
DTSTART;VALUE=DATE:20031110
DTEND;VALUE=DATE:20031111
iCal just uses the dates with no times for all day events. I wanted
Kronolith all day events to show up the same way, so I edited the
Events.php Kronolith lib file. Attached is the diff of what I did.
Thought it could be useful for people, or perhaps even for a patch.
--
tim glen
new media developer
nonfiction studios inc.
http://nonfiction.ca/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: event_diff
Type: application/octet-stream
Size: 1806 bytes
Desc: not available
Url : http://lists.horde.org/archives/kronolith/attachments/20031110/24ca8453/event_diff.obj
More information about the kronolith
mailing list