Correction (événements manquants)
This commit is contained in:
parent
3f0f8bcd0f
commit
471bd08cd1
@ -285,7 +285,7 @@ class CalendarList:
|
|||||||
for e in self.events:
|
for e in self.events:
|
||||||
if e.recurrences is None:
|
if e.recurrences is None:
|
||||||
if e.end_day 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)
|
self.calendar_days[e.start_day.__str__()].add_event(e)
|
||||||
else:
|
else:
|
||||||
for d in daterange(max(e.start_day, self.firstdate), min(e.end_day, self.lastdate)):
|
for d in daterange(max(e.start_day, self.firstdate), min(e.end_day, self.lastdate)):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user