mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender-pwa.git
synced 2025-07-16 09:38:51 +02:00
added timezone for ical
This commit is contained in:
@ -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")
|
||||
|
Reference in New Issue
Block a user