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