diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-07-03 19:57:52 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-07-03 19:57:52 -0400 |
commit | b054790200cb6108dd24b9997486cbfac5d0a39d (patch) | |
tree | 29d0cb95a4639b402a565535278f2b913824d9da /app | |
parent | d3f3669840d239299789352a98442412d59f539b (diff) |
Merge manually pull-request #965
Diffstat (limited to 'app')
-rw-r--r-- | app/Template/board/task_footer.php | 3 |
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> <?= 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 ?> |