From 3726984b008aeab167c31d06c026616a278eb44e Mon Sep 17 00:00:00 2001 From: masterElmar <18119527+masterElmar@users.noreply.github.com> Date: Mon, 13 Nov 2023 01:16:34 +0100 Subject: [PATCH] fixed summer winter time ical file --- backend/service/ical/icalFileGeneration.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/backend/service/ical/icalFileGeneration.go b/backend/service/ical/icalFileGeneration.go index 833b44d..cee12d2 100644 --- a/backend/service/ical/icalFileGeneration.go +++ b/backend/service/ical/icalFileGeneration.go @@ -29,7 +29,6 @@ func (icalModel IcalModel) EmitICal() goics.Componenter { c.AddProperty("TZID", "EUROPE/BERLIN") c.AddProperty("X-WR-CALNAME", "HTWK Kalender") c.AddProperty("X-WR-TIMEZONE", "EUROPE/BERLIN") - c.AddProperty("X-LIC-LOCATION", "EUROPE/BERLIN") //add v time zone icalModel.vtimezone(c) @@ -64,7 +63,6 @@ func (icalModel IcalModel) vtimezone(c *goics.Component) { tz := goics.NewComponent() tz.SetType("VTIMEZONE") tz.AddProperty("TZID", "EUROPE/BERLIN") - tz.AddProperty("X-LIC-LOCATION", "EUROPE/BERLIN") //add standard time icalModel.standard(tz) //add daylight time @@ -77,8 +75,7 @@ func (icalModel IcalModel) standard(tz *goics.Component) { st := NewHtwkalenderComponent() st.SetType("STANDARD") st.AddProperty("DTSTART", "19701025T030000") - st.AddProperty("RRULE", "FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU") - + st.AddProperty("RRULE", "FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU") st.AddProperty("TZOFFSETFROM", "+0200") st.AddProperty("TZOFFSETTO", "+0100") st.AddProperty("TZNAME", "CET")