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 }}">
|
||||
{{ task.name }}
|
||||
</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>
|
||||
|
Loading…
Reference in New Issue
Block a user