From 4bb0ded2d91a4d68753d5bf730b16f0a5db206b6 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 25 Feb 2020 19:24:35 +0100 Subject: plugins/caldav: update go-webdav --- plugins/caldav/public/calendar.html | 4 ++-- plugins/caldav/public/event.html | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins') 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}}
  • - {{$event.Summary}} - ({{$event.StartDate | formatdate}} — {{$event.EndDate | formatdate}}) + {{$event.Props.Text "SUMMARY"}} + ({{$event.DateTimeStart nil | formatdate}} — {{$event.DateTimeEnd nil | formatdate}})
  • {{end}} diff --git a/plugins/caldav/public/event.html b/plugins/caldav/public/event.html index 93f4ccf..8c88833 100644 --- a/plugins/caldav/public/event.html +++ b/plugins/caldav/public/event.html @@ -8,13 +8,13 @@ {{$event := index .Event.Data.Events 0}} -

    Event: {{$event.Summary}}

    +

    Event: {{$event.Props.Text "SUMMARY"}}

    -
    {{$event.Description}}
    +
    {{$event.Props.Text "DESCRIPTION"}}
    {{template "foot.html"}} -- cgit v1.2.3