aboutsummaryrefslogtreecommitdiff
path: root/plugins/caldav/public/calendar.html
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/caldav/public/calendar.html')
-rw-r--r--plugins/caldav/public/calendar.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/caldav/public/calendar.html b/plugins/caldav/public/calendar.html
index 1855f4f..6715258 100644
--- a/plugins/caldav/public/calendar.html
+++ b/plugins/caldav/public/calendar.html
@@ -14,8 +14,8 @@
{{range .Events}}
{{$event := index .Data.Events 0}}
<li>
- <a href="/calendar/{{$event.UID | pathescape}}">{{$event.Summary}}</a>
- ({{$event.StartDate | formatdate}} — {{$event.EndDate | formatdate}})
+ <a href="/calendar/{{$event.Props.Text "UID" | pathescape}}">{{$event.Props.Text "SUMMARY"}}</a>
+ ({{$event.DateTimeStart nil | formatdate}} — {{$event.DateTimeEnd nil | formatdate}})
</li>
{{end}}
</ul>