ical: Don't display an event before it's official start date

This commit is contained in:
nemunaire 2023-05-13 13:14:12 +02:00
parent e3d2611589
commit b77f1cd0d0
1 changed files with 2 additions and 0 deletions

View File

@ -94,6 +94,8 @@ class IcalModule:
else:
exclusions.append(exdates.dts[0].dt)
while start < component.decoded("DTSTART"):
start += timedelta(days=7)
while start in exclusions:
start += timedelta(days=7)