From 58fea6fdcf59d7a132290ac045776ce86ef1c3b1 Mon Sep 17 00:00:00 2001
From: Lukas Ruge <lukeslog@googlemail.com>
Date: Wed, 24 Oct 2018 21:11:29 +0200
Subject: [PATCH] timezone fix... again. again.aaaa.and again

---
 events.ics | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)

diff --git a/events.ics b/events.ics
index 60286b92..ea04aa32 100644
--- a/events.ics
+++ b/events.ics
@@ -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 %}
-- 
GitLab