Compare commits

...

2 Commits

Author SHA1 Message Date
042e81c66b Merge remote-tracking branch 'dmz/fix/fix-ical-template' 2024-11-29 18:52:50 +01:00
Txrpe
8bfaba3ed1 remove hardcoded event location 2024-11-18 20:43:54 +01:00
2 changed files with 2 additions and 1 deletions

View File

@ -107,6 +107,7 @@ def build_ical(events: list[dict]) -> str:
event_template = event_template.replace("<!--DATE-->", date)
event_template = event_template.replace("<!--TITLE-->", title)
event_template = event_template.replace("<!--URL-->", url)
event_template = event_template.replace("<!--LOCATION-->", location)
events_ical += event_template
# Footer

View File

@ -6,7 +6,7 @@ DTSTART;TZID=Europe/Belgrade:<!--DATE-->
DTEND;TZID=Europe/Belgrade:<!--DATE-->
GEO:+44.805613;+20.479234
LAST-MODIFIED:<!--CREATED-->
LOCATION:DC Krov\, Kraljice Marije 47\, 6\, Beograd\, Serbia
LOCATION:<!--LOCATION-->
STATUS:CONFIRMED
SUMMARY:<!--TITLE-->
URL;TYPE=URI:<!--URL-->