Share

Free Association (libical)

Tracker: Bugs

5 do not return rdates which are out of range - ID: 2881277
Last Update: Attachment added ( shuckleman )

icalcomponent_foreach_recurrence returns all RDATES, but it should only
return those that are within the specified time span.

Fix is easy:
--- icalcomponent.c 2009-01-08 18:50:22.000000000 +0200
+++ icalcomponent.c.new 2009-10-18 15:41:32.000000000 +0300
@@ -1097,6 +1097,7 @@

if (!icalproperty_recurrence_is_excluded(comp, &dtstart,
&rdate_period.time)) {
/** call callback action **/
+ if (icaltime_span_overlaps(&recurspan, &limit_span))
(*callback) (comp, &recurspan, callback_data);
}
comp->property_iterator = property_iterator;

This is fixed in Orage (Xfce calendar) as explained.


shuckle ( shuckleman ) - 2009-10-18 12:53

5

Open

None

Nobody/Anonymous

recur

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File ( 1 )

Filename Description Download
patch1.txt patch for BUG Download

Change ( 1 )

Field Old Value Date By
File Added 347135: patch1.txt 2009-10-18 12:53 shuckleman