Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
[kcalcore] Limit interval according to recurrence startDateTime. Cont…
…ributes to JB#43708
  • Loading branch information
Chris Adams committed May 15, 2019
1 parent 59a1de4 commit 41b9d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kcalcore/recurrence.cpp
Expand Up @@ -953,7 +953,7 @@ DateTimeList Recurrence::timesInInterval( const KDateTime &start, const KDateTim
int i, count;
DateTimeList times;
for ( i = 0, count = d->mRRules.count(); i < count; ++i ) {
times += d->mRRules[i]->timesInInterval( start, end );
times += d->mRRules[i]->timesInInterval( start < startDateTime() ? startDateTime() : start, end );
}

// add rdatetimes that fit in the interval
Expand Down

0 comments on commit 41b9d3a

Please sign in to comment.