Added CALNAME prop
This commit is contained in:
parent
8bc4b5a66c
commit
d347b42e44
|
@ -363,6 +363,10 @@ func newHMNCalendar() *ical.Calendar {
|
||||||
version.SetText("1.0")
|
version.SetText("1.0")
|
||||||
cal.Props.Set(version)
|
cal.Props.Set(version)
|
||||||
|
|
||||||
|
name := ical.NewProp("X-WR-CALNAME")
|
||||||
|
name.SetText("Handmade Network")
|
||||||
|
cal.Props.Set(name)
|
||||||
|
|
||||||
return cal
|
return cal
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -371,6 +375,7 @@ func emptyCalendarString() []byte {
|
||||||
empty := `BEGIN:VCALENDAR
|
empty := `BEGIN:VCALENDAR
|
||||||
VERSION:1.0
|
VERSION:1.0
|
||||||
PRODID:Handmade Network
|
PRODID:Handmade Network
|
||||||
|
X-WR-CALNAME:Handmade Network
|
||||||
END:VCALENDAR
|
END:VCALENDAR
|
||||||
`
|
`
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue