From 613970a48ab8b181c6d3f467287f28240b90a39b Mon Sep 17 00:00:00 2001 From: Lukas Ruge <lukeslog@googlemail.com> Date: Wed, 24 Oct 2018 20:58:42 +0200 Subject: [PATCH] timezone fix... again --- events.ics | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/events.ics b/events.ics index fde1b2f2..07a5fa35 100644 --- a/events.ics +++ b/events.ics @@ -2,6 +2,7 @@ layout: none type: text/calendar --- +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 BEGIN:VCALENDAR VERSION:2.0 PRODID:http://www.example.com/ @@ -14,8 +15,8 @@ SUMMARY:{{ event.title | xml_escape | truncate: 60}} DESCRIPTION:{% for i in (1..rounds) %}{{ event.short | slice: start, linelength }}{% assign start = start | plus: linelength %} {% endfor%}{{ event.short | slice: start, extra }} CLASS:PUBLIC -DTSTART;TZID=Europe/Amsterdam:{{ event.eventdate | date: "%Y%m%d" }}T{{ event.eventdate | date: "%H%M%S" }} -DTEND;TZID=Europe/Amsterdam:{{ event.eventend | date: "%Y%m%d" }}T{{ event.eventend | date: "%H%M%S" }} +DTSTART;TZID=Europe/Berlin:{{ event.eventdate | date: "%Y%m%d" }}T{{ event.eventdate | date: "%H%M%S" }} +DTEND;TZID=Europe/Berlin:{{ event.eventend | date: "%Y%m%d" }}T{{ event.eventend | date: "%H%M%S" }} DTSTAMP:{{ event.eventdate | date: "%Y%m%d" }}T{{ event.eventdate | date: "%H%M%S" }}Z END:VEVENT {% endfor %}END:VCALENDAR -- GitLab