fixed ics generation

This commit is contained in:
Marek Krug 2025-03-12 17:41:44 +01:00
parent 4068fab565
commit 2b5277a3a0
7 changed files with 98 additions and 56 deletions

View file

@ -18,6 +18,10 @@ for icsfilestr in glob("public/*/**/*.ics", recursive=True):
for calendar in calendars:
for event in calendar.subcomponents:
if event.name != "VEVENT":
continue
if "DTSTART" not in event:
continue
merged.add_component(event)
outfile = "static/all.ics"