summaryrefslogtreecommitdiff
path: root/app/Template/board/task.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-11 20:46:14 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-11 20:46:14 -0500
commit2c512f93acf6ce3e83e4600c199371ee5eb4f3a6 (patch)
treeed0c308dc6e8268899e78dca50f093131e8f5896 /app/Template/board/task.php
parent59ee6f9fee1c8a8245d859c8788d6819223e3d20 (diff)
Improve pull-request
Diffstat (limited to 'app/Template/board/task.php')
-rw-r--r--app/Template/board/task.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/board/task.php b/app/Template/board/task.php
index 3d3fb269..5cad4004 100644
--- a/app/Template/board/task.php
+++ b/app/Template/board/task.php
@@ -69,8 +69,8 @@
) ?>
</span>
- <span title="<?= t('Task age in days')?>" class="task-days-age"><?= floor(time()/86400) - floor($task['date_creation']/86400)?>d</span>
- <span title="<?= t('Days in this column')?>" class="task-days-incolumn"><?= floor(time()/86400) - floor($task['date_moved']/86400)?>d</span>
+ <span title="<?= t('Task age in days')?>" class="task-days-age"><?= t('%dd', floor(time()/86400) - floor($task['date_creation']/86400)) ?></span>
+ <span title="<?= t('Days in this column')?>" class="task-days-incolumn"><?= t('%dd', floor(time()/86400) - floor($task['date_moved']/86400)) ?></span>
<?php if ($task['score']): ?>
<span class="task-score"><?= $this->e($task['score']) ?></span>