update
parent
7d39b81824
commit
00bb55b5c3
|
@ -27,8 +27,7 @@ TZNAME:CST
|
|||
DTSTART:19700101T000000
|
||||
END:STANDARD
|
||||
END:VTIMEZONE
|
||||
{{with .Events}}{{ if gt (len .) 0 }}{{ range $event := . }}
|
||||
BEGIN:VEVENT
|
||||
{{with .Events}}{{ if gt (len .) 0 }}{{ range $event := . }}BEGIN:VEVENT
|
||||
DTSTART:{{$event.Start|icstime}}
|
||||
DTEND:{{$event.End|icstime}}
|
||||
DTSTAMP:{{now|icstime}}
|
||||
|
@ -41,8 +40,7 @@ SEQUENCE:0
|
|||
STATUS:CONFIRMED
|
||||
SUMMARY:{{$event.Name}}
|
||||
TRANSP:TRANSPARENT
|
||||
END:VEVENT
|
||||
{{end}}{{end}}{{end}}
|
||||
END:VEVENT{{end}}{{end}}{{end}}
|
||||
END:VCALENDAR`
|
||||
|
||||
var tmpl *template.Template
|
||||
|
|
Loading…
Reference in New Issue