Merge remote-tracking branch 'dmz/fix/fix-ical-template'

This commit is contained in:
Hugo 2024-11-29 18:52:50 +01:00
commit 042e81c66b
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-->