fix: Format date properly.

This commit is contained in:
Pol Dellaiera 2021-08-17 17:16:00 +02:00
parent b189726380
commit 62536ab2ff

View File

@ -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,