Closed lucianholt97 closed 4 years ago
Happy to accept a PR
@u01jmg3 I am working on it. The official COUNT
in an RRULE
should include the excluded events, too. Somehow the existing test testStartDateIsExdateUsingCount
does not conform with this as the count should be 7. Currently, the (imo wrong) test data has COUNT=3
, 4 excluded events and results in 3 events.
7.4
Europe/Berlin
dev-master
Description of the Issue:
The following recurring event (from google cal) results in 5 events instead of 3. The excluded dates were excluded correctly but additional dates were attached to the end of the set since the algorithm does not count excluded events and terminates when
COUNT=5
is reached.So I get:
instead of just
I assume that the following lines of code are responsible for the bug (Lines 1496-1508 in ICal.php)
Steps to Reproduce: