diff --git a/src/agenda_culturel/calendar.py b/src/agenda_culturel/calendar.py index bb9cf47..8248c79 100644 --- a/src/agenda_culturel/calendar.py +++ b/src/agenda_culturel/calendar.py @@ -285,7 +285,7 @@ class CalendarList: for e in self.events: if e.recurrences is None: if e.end_day is None: - if e.start_day >= self.firstdate and e.start_day < self.lastdate: + if e.start_day >= self.firstdate and e.start_day <= self.lastdate: self.calendar_days[e.start_day.__str__()].add_event(e) else: for d in daterange(max(e.start_day, self.firstdate), min(e.end_day, self.lastdate)):