mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-02 17:59:14 +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.SetType("VCALENDAR")
|
||||||
c.AddProperty("VERSION", "2.0")
|
c.AddProperty("VERSION", "2.0")
|
||||||
c.AddProperty("CALSCAL", "GREGORIAN")
|
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 {
|
for _, event := range e {
|
||||||
s := goics.NewComponent()
|
s := goics.NewComponent()
|
||||||
s.SetType("VEVENT")
|
s.SetType("VEVENT")
|
||||||
|
Reference in New Issue
Block a user