From deae7bf33c906aff7ecb92083e97ab9066c7f577 Mon Sep 17 00:00:00 2001 From: Ralf Hemberger <10364191+rhemberger@users.noreply.github.com> Date: Wed, 31 Oct 2018 16:31:14 +0100 Subject: [PATCH] WebDav - Add RFC3339 date format - fixes #2712 --- backend/webdav/api/types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/webdav/api/types.go b/backend/webdav/api/types.go index 7ee435b2c..18aba8cef 100644 --- a/backend/webdav/api/types.go +++ b/backend/webdav/api/types.go @@ -145,6 +145,7 @@ var timeFormats = []string{ time.RFC1123Z, // Fri, 05 Jan 2018 14:14:38 +0000 (as used by mydrive.ch) time.UnixDate, // Wed May 17 15:31:58 UTC 2017 (as used in an internal server) noZerosRFC1123, // Fri, 7 Sep 2018 08:49:58 GMT (as used by server in #2574) + time.RFC3339, // Wed, 31 Oct 2018 13:57:11 CET (as used by komfortcloud.de) } // UnmarshalXML turns XML into a Time