1
0
Fork 0
mirror of https://github.com/Luzifer/go-holidays.git synced 2024-12-25 21:31:17 +00:00

Fix: Use transparent events for ical

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-12-27 05:07:48 +01:00
parent c361e5ea47
commit dca98cfecb
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -42,6 +42,7 @@ func (i iCalendarEvent) String() string {
strings.Join([]string{"DTSTART;VALUE=DATE", i.Date.Format("20060102")}, ":"), strings.Join([]string{"DTSTART;VALUE=DATE", i.Date.Format("20060102")}, ":"),
strings.Join([]string{"UID", i.UID}, ":"), strings.Join([]string{"UID", i.UID}, ":"),
"DURATION:P1D", "DURATION:P1D",
"TRANSP:TRANSPARENT",
"END:VEVENT", "END:VEVENT",
}, "\r\n") }, "\r\n")
} }