Correction (événements manquants)

This commit is contained in:
Jean-Marie Favreau 2025-02-02 20:14:06 +01:00
parent 3f0f8bcd0f
commit 471bd08cd1

View File

@ -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)):