Skip to content
Snippets Groups Projects
Unverified Commit 58fea6fd authored by Lukas Ruge's avatar Lukas Ruge
Browse files

timezone fix... again. again.aaaa.and again

parent dd3c82c2
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -4,9 +4,27 @@ type: text/calendar
---
BEGIN:VCALENDAR
VERSION:2.0
PRODID:http://www.example.com/
CALSCALE:GREGORIAN
PRODID:https://chaotikum.org/
METHOD:PUBLISH
BEGIN:VTIMEZONE TZID:Europe/Berlin BEGIN:DAYLIGHT TZOFFSETFROM:+0100 RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU DTSTART:19810329T020000 TZNAME:GMT+02:00 TZOFFSETTO:+0200 END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:+0200 RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU DTSTART:19961027T030000 TZNAME:GMT+01:00 TZOFFSETTO:+0100 END:STANDARD END:VTIMEZONE {% for event in site.events %}BEGIN:VEVENT
BEGIN:VTIMEZONE
TZID:Europe/Berlin
X-LIC-LOCATION:Europe/Berlin
BEGIN:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0100
TZOFFSETFROM:+0200
TZOFFSETTO:+0200
TZOFFSETTO:+0100
TZNAME:CEST TZNAME:CET
DTSTART:19700329T020000
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:DAYLIGHT
END:STANDARD
END:VTIMEZONE
{% for event in site.events %}BEGIN:VEVENT
UID:{{ event.uid }}
ORGANIZER;CN={% if event.organizer and event.organizer != "" and event.organizer != nil %}{{event.organizer}}{% else %}Chaotikum e.V.{% endif %}:MAILTO:{{event.contact}}
LOCATION:{% if event.locations contains 'Augenprüfraum' and event.locations contains 'Wartezimmer' and event.locations contains 'Lager' %}Nobreakspace{% else %}{{ event.locations | array_to_sentence_string }}{% endif %}{% capture textSize %}{{ event.short | size }}{% endcapture %}{% assign linelength = 50 %}{% assign rounds = textSize | divided_by: linelength %}{% assign extra = textSize | modulo: linelength %}{% assign start = 0 %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment