summaryrefslogtreecommitdiff
path: root/app/Template/task_list
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/task_list')
-rw-r--r--app/Template/task_list/task_icons.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Template/task_list/task_icons.php b/app/Template/task_list/task_icons.php
index 9545b1e1..03a891a2 100644
--- a/app/Template/task_list/task_icons.php
+++ b/app/Template/task_list/task_icons.php
@@ -32,10 +32,10 @@
<?php if (! empty($task['date_due'])): ?>
<span title="<?= t('Due date') ?>" class="task-date
- <?php if (date('Y-m-d') == date('Y-m-d', $task['date_due'])): ?>
- task-date-today
- <?php elseif (time() > $task['date_due']): ?>
+ <?php if (time() > $task['date_due']): ?>
task-date-overdue
+ <?php elseif (date('Y-m-d') == date('Y-m-d', $task['date_due'])): ?>
+ task-date-today
<?php endif ?>
">
<i class="fa fa-calendar"></i>