From 9a8a3441f2d3f83d2b13a270e6d7bb213d417fba Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Sat, 8 Jan 2022 15:18:56 +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 ed82d71..fdd4720 100644 --- a/calendar/ics.go +++ b/calendar/ics.go @@ -26,8 +26,8 @@ TZOFFSETTO:+0800 TZNAME:CST DTSTART:19700101T000000 END:STANDARD -END:VTIMEZONE -{{with .Events}}{{ if gt (len .) 0 }}{{ range $event := . }}BEGIN:VEVENT +END:VTIMEZONE{{with .Events}}{{ if gt (len .) 0 }}{{ range $event := . }} +BEGIN:VEVENT DTSTART:{{$event.Start|icstime}} DTEND:{{$event.End|icstime}} DTSTAMP:{{now|icstime}}