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
commitfa775641525ab834481f3b3fb5dd6a7ed75593dc (patch)
treef9d2c2616d8354086e8a5f8fbb475c145b33586b /apps/files_reminders/lib/Model
parentbeb8a27d9493ac97cb390a101c4ee022d0f10d82 (diff)
downloadnextcloud-server-fa775641525ab834481f3b3fb5dd6a7ed75593dc.tar.gz
nextcloud-server-fa775641525ab834481f3b3fb5dd6a7ed75593dc.zip
enh: rename to due date
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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_reminders/lib/Model/RichReminder.php b/apps/files_reminders/lib/Model/RichReminder.php
index 76c3d8dd22b..9f7e3f36556 100644
--- a/apps/files_reminders/lib/Model/RichReminder.php
+++ b/apps/files_reminders/lib/Model/RichReminder.php
@@ -66,7 +66,7 @@ class RichReminder extends Reminder implements JsonSerializable {
return [
'userId' => $this->getUserId(),
'fileId' => $this->getFileId(),
- 'remindAt' => $this->getRemindAt()->format(DateTimeInterface::ATOM), // ISO 8601
+ 'dueDate' => $this->getDueDate()->format(DateTimeInterface::ATOM), // ISO 8601
'createdAt' => $this->getCreatedAt()->format(DateTimeInterface::ATOM), // ISO 8601
'notified' => $this->getNotified(),
];