summaryrefslogtreecommitdiff
path: root/app/Template/notification
diff options
context:
space:
mode:
authorOliver Buchmann <o.buch91@gmail.com>2017-05-10 22:42:34 +0200
committerFrédéric Guillot <fred@kanboard.net>2017-05-10 16:42:34 -0400
commitdaf39ee16aa15572b92f96bd7cc3705305a50b9d (patch)
tree570baefc579f9b7df1fa0dd4156148e746a5313c /app/Template/notification
parent136936ae3df66e8ffc49d721f0bb4de507506332 (diff)
Change Due Date to Due Timestamp fixes #919 (#3249)
Diffstat (limited to 'app/Template/notification')
-rw-r--r--app/Template/notification/task_create.php2
-rw-r--r--app/Template/notification/task_overdue.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/notification/task_create.php b/app/Template/notification/task_create.php
index 6e80b26a..e56c252d 100644
--- a/app/Template/notification/task_create.php
+++ b/app/Template/notification/task_create.php
@@ -6,7 +6,7 @@
</li>
<?php if ($task['date_due']): ?>
<li>
- <strong><?= t('Due date:').' '.$this->dt->date($task['date_due']) ?></strong>
+ <strong><?= t('Due date:').' '.$this->dt->datetime($task['date_due']) ?></strong>
</li>
<?php endif ?>
<?php if (! empty($task['creator_username'])): ?>
diff --git a/app/Template/notification/task_overdue.php b/app/Template/notification/task_overdue.php
index 01ad0a01..2ad4c14d 100644
--- a/app/Template/notification/task_overdue.php
+++ b/app/Template/notification/task_overdue.php
@@ -19,7 +19,7 @@
<?= $this->text->e($task['title']) ?>
<?php endif ?>
</td>
- <td style="border: 1px solid #eee;"><?= $this->dt->date($task['date_due']) ?></td>
+ <td style="border: 1px solid #eee;"><?= $this->dt->datetime($task['date_due']) ?></td>
<td style="border: 1px solid #eee;"><?= $this->text->e($task['project_name']) ?></td>
<td style="border: 1px solid #eee;">
<?php if (! empty($task['assignee_username'])): ?>