From 62536ab2fff644bb10d90d5695184155825498a1 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Tue, 17 Aug 2021 17:16:00 +0200 Subject: [PATCH] fix: Format date properly. --- src/Bundle/ChillWopiBundle/src/Service/Wopi/ChillWopi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillWopiBundle/src/Service/Wopi/ChillWopi.php b/src/Bundle/ChillWopiBundle/src/Service/Wopi/ChillWopi.php index fc2e0c12a..54bfce885 100644 --- a/src/Bundle/ChillWopiBundle/src/Service/Wopi/ChillWopi.php +++ b/src/Bundle/ChillWopiBundle/src/Service/Wopi/ChillWopi.php @@ -79,7 +79,7 @@ final class ChillWopi implements WopiInterface 'SupportsLocks' => true, 'UserFriendlyName' => 'User Name ' . uniqid(), 'UserExtraInfo' => [], - 'LastModifiedTime' => date('Y-m-d\TH:i:s.u\Z', $storedObject->getCreationDate()), + 'LastModifiedTime' => date('Y-m-d\TH:i:s.u\Z', $storedObject->getCreationDate()->getTimestamp()), 'CloseButtonClosesWindow' => true, 'EnableInsertRemoteImage' => true, 'EnableShare' => true,