fix: compare last revision and doc timestamps in display TZ (#4418)
This commit is contained in:
parent
32054111df
commit
3cc208c05f
|
@ -115,7 +115,7 @@
|
|||
<td class="edit"></td>
|
||||
<td>
|
||||
{{ doc.time|date:"Y-m-d" }}
|
||||
{% if latest_revision and latest_revision.time.date != doc.time.date %}
|
||||
{% if latest_revision and latest_revision.time|date:"Y-m-d" != doc.time|date:"Y-m-d" %}
|
||||
<span class="text-muted">(Latest revision {{ latest_revision.time|date:"Y-m-d" }})</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
|
|
Loading…
Reference in a new issue