ical: Don't display an event before it's official start date
This commit is contained in:
parent
e3d2611589
commit
b77f1cd0d0
@ -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…
Reference in New Issue
Block a user