ical: Don't display an event before it's official start date
This commit is contained in:
parent
e3d2611589
commit
b77f1cd0d0
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,8 @@ class IcalModule:
|
||||||
else:
|
else:
|
||||||
exclusions.append(exdates.dts[0].dt)
|
exclusions.append(exdates.dts[0].dt)
|
||||||
|
|
||||||
|
while start < component.decoded("DTSTART"):
|
||||||
|
start += timedelta(days=7)
|
||||||
while start in exclusions:
|
while start in exclusions:
|
||||||
start += timedelta(days=7)
|
start += timedelta(days=7)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue