summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Template/board/task_footer.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php
index 08af52a2..e5c6d29b 100644
--- a/app/Template/board/task_footer.php
+++ b/app/Template/board/task_footer.php
@@ -68,7 +68,11 @@
<?php endif ?>
">
<i class="fa fa-calendar"></i>
- <?= $this->dt->datetime($task['date_due']) ?>
+ <?php if (date('Hi', $task['date_due']) === '0000' ): ?>
+ <?= $this->dt->date($task['date_due']) ?>
+ <?php else: ?>
+ <?= $this->dt->datetime($task['date_due']) ?>
+ <?php endif ?>
</span>
<?php endif ?>
</div>