Skip to content

Commit

Permalink
check also if date of rrules exdate is in list
Browse files Browse the repository at this point in the history
  • Loading branch information
grasbauer authored and niccokunzmann committed Dec 19, 2023
1 parent aea7799 commit bb22feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recurring_ical_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def within_days(self, span_start, span_stop):
# value. This is tested by test/test_issue_20_exdate_ignored.py.
if self.rrule is not None and self.rrule.until is not None and start > self.rrule.until and start not in self.rdates:
continue
if self._unify_exdate(start) in self.exdates_utc:
if self._unify_exdate(start) in self.exdates_utc or start.date() in self.exdates_utc:
continue
stop = self.replace_ends.get(timestamp(start), start + self.duration)
yield Repetition(
Expand Down

0 comments on commit bb22feb

Please sign in to comment.