summaryrefslogtreecommitdiff
path: root/app/Template/task
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/task
parent136936ae3df66e8ffc49d721f0bb4de507506332 (diff)
Change Due Date to Due Timestamp fixes #919 (#3249)
Diffstat (limited to 'app/Template/task')
-rw-r--r--app/Template/task/changes.php2
-rw-r--r--app/Template/task/details.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/task/changes.php b/app/Template/task/changes.php
index 2c2bf267..6aa3d49b 100644
--- a/app/Template/task/changes.php
+++ b/app/Template/task/changes.php
@@ -31,7 +31,7 @@
if (empty($task['date_due'])) {
echo '<li>'.t('The due date have been removed').'</li>';
} else {
- echo '<li>'.t('New due date: ').$this->dt->date($task['date_due']).'</li>';
+ echo '<li>'.t('New due date: ').$this->dt->datetime($task['date_due']).'</li>';
}
break;
case 'description':
diff --git a/app/Template/task/details.php b/app/Template/task/details.php
index 24099a3c..a42e09d1 100644
--- a/app/Template/task/details.php
+++ b/app/Template/task/details.php
@@ -95,7 +95,7 @@
<?php if ($task['date_due']): ?>
<li>
<strong><?= t('Due date:') ?></strong>
- <span><?= $this->dt->date($task['date_due']) ?></span>
+ <span><?= $this->dt->datetime($task['date_due']) ?></span>
</li>
<?php endif ?>
<?php if ($task['time_estimated']): ?>