aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_reminders/lib/Model
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2023-07-31 12:10:50 -0700
committerChristopher Ng <chrng8@gmail.com>2023-08-03 15:30:11 -0700
commit5ff178a753c335d2ab6d10cee531490f1026ec42 (patch)
treecc478dd03b0ecfb52718080516e38a680d08ef7c /apps/files_reminders/lib/Model
parent7637bf2ae04d5558b5771b62cd17b6bc7321ba44 (diff)
downloadnextcloud-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.php1
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(),
];