Add relative representation of dates in task listings
This commit is contained in:
parent
ef81e2ba51
commit
6d1ef6ab22
@ -2,5 +2,7 @@
|
|||||||
<a href="{{ task.get_absolute_url }}">
|
<a href="{{ task.get_absolute_url }}">
|
||||||
{{ task.name }}
|
{{ task.name }}
|
||||||
</a>
|
</a>
|
||||||
- last completed {{ task.last_event.date|date|default:"never"}}, next required {{ task.next_recurrence|date|default:"never" }}
|
- last completed {{ task.last_event.date|date|default:"never"}}
|
||||||
|
({{ task.last_event.date|timesince|default:"never" }}),
|
||||||
|
next required {{ task.next_recurrence|date|default:"never" }} ({{ task.next_recurrence|timeuntil|default:"never" }})
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user