aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_reminders/lib/Command
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/Command
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/Command')
-rw-r--r--apps/files_reminders/lib/Command/ListCommand.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_reminders/lib/Command/ListCommand.php b/apps/files_reminders/lib/Command/ListCommand.php
index 074aeb87239..7d6044f21c6 100644
--- a/apps/files_reminders/lib/Command/ListCommand.php
+++ b/apps/files_reminders/lib/Command/ListCommand.php
@@ -75,12 +75,12 @@ class ListCommand extends Base {
}
$io->table(
- ['UserId', 'Path', 'RemindAt', 'CreatedAt', 'Notified'],
+ ['UserId', 'Path', 'DueDate', 'CreatedAt', 'Notified'],
array_map(
fn (RichReminder $reminder) => [
$reminder->getUserId(),
$reminder->getNode()->getPath(),
- $reminder->getRemindAt()->format(DateTimeInterface::ATOM), // ISO 8601
+ $reminder->getDueDate()->format(DateTimeInterface::ATOM), // ISO 8601
$reminder->getCreatedAt()->format(DateTimeInterface::ATOM), // ISO 8601
$reminder->getNotified() ? 'true' : 'false',
],