added timezone for ical

This commit is contained in:
Elmar Kresse
2023-09-21 16:54:23 +02:00
parent 47adb18359
commit b05d7cf70c

View File

@ -139,6 +139,10 @@ func (e Events) EmitICal() goics.Componenter {
c.SetType("VCALENDAR")
c.AddProperty("VERSION", "2.0")
c.AddProperty("CALSCAL", "GREGORIAN")
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")
for _, event := range e {
s := goics.NewComponent()
s.SetType("VEVENT")