diff options
author | Christopher Ng <chrng8@gmail.com> | 2023-07-31 12:10:50 -0700 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2023-08-03 15:30:11 -0700 |
commit | 5ff178a753c335d2ab6d10cee531490f1026ec42 (patch) | |
tree | cc478dd03b0ecfb52718080516e38a680d08ef7c /apps/files_reminders/lib/Model | |
parent | 7637bf2ae04d5558b5771b62cd17b6bc7321ba44 (diff) | |
download | nextcloud-server-5ff178a753c335d2ab6d10cee531490f1026ec42.tar.gz nextcloud-server-5ff178a753c335d2ab6d10cee531490f1026ec42.zip |
enh: add updated at
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/files_reminders/lib/Model')
-rw-r--r-- | apps/files_reminders/lib/Model/RichReminder.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_reminders/lib/Model/RichReminder.php b/apps/files_reminders/lib/Model/RichReminder.php index 9f7e3f36556..1ac1baae370 100644 --- a/apps/files_reminders/lib/Model/RichReminder.php +++ b/apps/files_reminders/lib/Model/RichReminder.php @@ -67,6 +67,7 @@ class RichReminder extends Reminder implements JsonSerializable { 'userId' => $this->getUserId(), 'fileId' => $this->getFileId(), 'dueDate' => $this->getDueDate()->format(DateTimeInterface::ATOM), // ISO 8601 + 'updatedAt' => $this->getUpdatedAt()->format(DateTimeInterface::ATOM), // ISO 8601 'createdAt' => $this->getCreatedAt()->format(DateTimeInterface::ATOM), // ISO 8601 'notified' => $this->getNotified(), ]; |