Hide due date time if time is 00:00
This commit is contained in:
parent
4a3f4fcfc2
commit
2774d917cf
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue