From 1766bdad8a1b7f510e722e38fd064cd4962f448d Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Sat, 8 Jan 2022 15:45:50 +0800 Subject: [PATCH] update --- calendar/ics.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/ics.go b/calendar/ics.go index 83fc21b..ffd0982 100644 --- a/calendar/ics.go +++ b/calendar/ics.go @@ -17,7 +17,7 @@ CALSCALE:GREGORIAN METHOD:PUBLISH X-WR-CALNAME:{{.Name}} X-WR-TIMEZONE:Asia/Taipei -X-WR-CALDESC:{{.Name}} +X-WR-CALDESC:{{.Name}}{{/* BEGIN:VTIMEZONE TZID:{{.Timezone}} X-LIC-LOCATION:{{.Timezone}} @@ -27,7 +27,7 @@ TZOFFSETTO:+0800 TZNAME:CST DTSTART:19700101T000000 END:STANDARD -END:VTIMEZONE{{with .Events}}{{ if gt (len .) 0 }}{{ range $event := . }} +END:VTIMEZONE*/}}{{with .Events}}{{ if gt (len .) 0 }}{{ range $event := . }} BEGIN:VEVENT DTSTART:{{$event.Start|icstime}} DTEND:{{$event.End|icstime}}