calendar.ics 331 B

1234567891011121314151617181920
  1. BEGIN:VCALENDAR
  2. VERSION:2.0
  3. PRODID:apiote.xyz
  4. COLOR:royalBlue
  5. {{ range . }}
  6. BEGIN:VEVENT
  7. UID:{{ .UID }}
  8. DTSTAMP:20221114T172530Z
  9. DTSTART:{{ .Format }}T000000
  10. DTEND:{{ .Format }}T240000
  11. SUMMARY:{{ .Name }}
  12. {{- if .Rrule }}
  13. RRULE:{{ .Rrule }}
  14. {{- else if eq .Year 0 }}
  15. RRULE:FREQ=YEARLY
  16. {{- end }}
  17. END:VEVENT
  18. {{ end }}
  19. END:VCALENDAR