summaryrefslogtreecommitdiff
path: root/app/Template/board/task_footer.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-03 19:57:52 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-03 19:57:52 -0400
commitb054790200cb6108dd24b9997486cbfac5d0a39d (patch)
tree29d0cb95a4639b402a565535278f2b913824d9da /app/Template/board/task_footer.php
parentd3f3669840d239299789352a98442412d59f539b (diff)
Merge manually pull-request #965
Diffstat (limited to 'app/Template/board/task_footer.php')
-rw-r--r--app/Template/board/task_footer.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php
index 7593c102..e9f22b7b 100644
--- a/app/Template/board/task_footer.php
+++ b/app/Template/board/task_footer.php
@@ -21,7 +21,8 @@
<div class="task-board-icons">
<?php if (! empty($task['date_due'])): ?>
<span class="task-board-date <?= time() > $task['date_due'] ? 'task-board-date-overdue' : '' ?>">
- <i class="fa fa-calendar"></i>&nbsp;<?= dt('%b %e', $task['date_due']) ?>
+ <i class="fa fa-calendar"></i>
+ <?= (date('Y') === date('Y', $task['date_due']) ? dt('%b %e', $task['date_due']) : dt('%b %e %Y', $task['date_due'])) ?>
</span>
<?php endif ?>