6.0.0-beta1
7/18/25

[#10007] Multi-day events split up strangely when exported as ics
Summary Multi-day events split up strangely when exported as ics
Queue Kronolith
Queue Version Git master
Type Bug
State Resolved
Priority 2. Medium
Owners jan (at) horde (dot) org
Requester spamstop1 (at) terriertech (dot) com
Created 04/29/2011 (5194 days ago)
Due
Updated 04/29/2011 (5194 days ago)
Assigned
Resolved 04/29/2011 (5194 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/29/2011 04:17:12 PM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
04/29/2011 04:17:00 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git for this ticket:

[jan] Don't export multi-day events as multiple events to iCalendar 
data (Bug #10007).

  3 files changed, 5 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/35589b60a2870e64c3602425eab7b11312289878
04/29/2011 06:20:23 AM spamstop1 (at) terriertech (dot) com Comment #2 Reply to this comment
Multi-day events are split up with overlapping dates when exported 
as ics, particularly when timezone changes.
At least for exporting to Thunderbird, it seems to be fixed with the 
following in kronolith/lib/Api.php:

828c828
<         $events = $kronolith_driver->listEvents(null, null, false, 
false, false, true, true, true);
---
         $events = $kronolith_driver->listEvents(null, null, false, 
false, false, false, true, true);
04/29/2011 06:00:12 AM spamstop1 (at) terriertech (dot) com Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Kronolith
Summary ⇒ Multi-day events split up strangely when exported as ics
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Multi-day events are split up with overlapping dates when exported as 
ics, particularly when timezone changes.

Here is an event exported from Kronolith 2.2:

BEGIN:VEVENT
DTSTART:20110413T002500Z
DTEND:20110416T022500Z
DTSTAMP:20110427T220529Z
UID:20110306165810.673097ek81pfc0ow@zzz.com
CREATED:20110306T225810Z
LAST-MODIFIED:20110426T231601Z
SUMMARY:Philadelphia
ORGANIZER;CN=Xxx Yyy:mailto:xxx.yyy@zzz.com
DESCRIPTION:
CATEGORIES:
CLASS:PUBLIC
STATUS:CONFIRMED
TRANSP:OPAQUE
END:VEVENT

The following is from the same event exported using 3.0.2-git.  Note 
that the last VEVENT starts at 20110415T140000Z, which overlaps with 
the all-day event before it (depending on which timezone the event is 
viewed in).

Furthermore, the fact that all the events are exported with the same 
UID seems to cause Thunderbird/Lightning to ignore subsequent 
duplicates (i.e. the end result is that it displays only the first of 
the VEVENTs).

BEGIN:VEVENT
DTSTART:20110413T002500Z
DTEND:20110413T135959Z
DTSTAMP:20110429T050117Z
UID:20110306165810.673097ek81pfc0ow@zzz.com
CREATED:20000428T195111Z
LAST-MODIFIED:20000428T195111Z
SUMMARY:Philadelphia
ORGANIZER;CN=xxx:mailto:yyy
DESCRIPTION:
CATEGORIES:
CLASS:PUBLIC
STATUS:CONFIRMED
TRANSP:OPAQUE
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20110414
DTEND;VALUE=DATE:20110414
DTSTAMP:20110429T050117Z
UID:20110306165810.673097ek81pfc0ow@zzz.com
CREATED:20000428T195111Z
LAST-MODIFIED:20000428T195111Z
SUMMARY:Philadelphia
ORGANIZER;CN=xxx:mailto:yyy
DESCRIPTION:
CATEGORIES:
CLASS:PUBLIC
STATUS:CONFIRMED
TRANSP:OPAQUE
END:VEVENT
BEGIN:VEVENT
DTSTART;VALUE=DATE:20110415
DTEND;VALUE=DATE:20110415
DTSTAMP:20110429T050117Z
UID:20110306165810.673097ek81pfc0ow@zzz.com
CREATED:20000428T195111Z
LAST-MODIFIED:20000428T195111Z
SUMMARY:Philadelphia
ORGANIZER;CN=xxx:mailto:yyy
DESCRIPTION:
CATEGORIES:
CLASS:PUBLIC
STATUS:CONFIRMED
TRANSP:OPAQUE
END:VEVENT
BEGIN:VEVENT
DTSTART:20110415T140000Z
DTEND:20110416T022500Z
DTSTAMP:20110429T050117Z
UID:20110306165810.673097ek81pfc0ow@zzz.com
CREATED:20000428T195111Z
LAST-MODIFIED:20000428T195111Z
SUMMARY:Philadelphia
ORGANIZER;CN=xxx:mailto:yyy
DESCRIPTION:
CATEGORIES:
CLASS:PUBLIC
STATUS:CONFIRMED
TRANSP:OPAQUE
END:VEVENT

Saved Queries