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

timezone fix... again

parent bcbe202b
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
layout: none layout: none
type: text/calendar 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 BEGIN:VCALENDAR
VERSION:2.0 VERSION:2.0
PRODID:http://www.example.com/ PRODID:http://www.example.com/
...@@ -14,8 +15,8 @@ SUMMARY:{{ event.title | xml_escape | truncate: 60}} ...@@ -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 %} DESCRIPTION:{% for i in (1..rounds) %}{{ event.short | slice: start, linelength }}{% assign start = start | plus: linelength %}
{% endfor%}{{ event.short | slice: start, extra }} {% endfor%}{{ event.short | slice: start, extra }}
CLASS:PUBLIC CLASS:PUBLIC
DTSTART;TZID=Europe/Amsterdam:{{ event.eventdate | date: "%Y%m%d" }}T{{ event.eventdate | date: "%H%M%S" }} DTSTART;TZID=Europe/Berlin:{{ 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" }} 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 DTSTAMP:{{ event.eventdate | date: "%Y%m%d" }}T{{ event.eventdate | date: "%H%M%S" }}Z
END:VEVENT END:VEVENT
{% endfor %}END:VCALENDAR {% endfor %}END:VCALENDAR
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