1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Standardized date/time displays; moved format declarations to configuration.py

This commit is contained in:
Jeremy Stretch
2016-06-22 13:22:59 -04:00
parent 5f0d52e59a
commit 8563e2aca3
8 changed files with 39 additions and 16 deletions

View File

@@ -149,7 +149,7 @@
{% for a in recent_activity %}
<div class="list-group-item">
{{ a.icon }} {{ a.message|safe }}<br />
<small class="text-muted">{{ a.user }} - {{ a.time|date:"Y-m-d H:i" }}</small>
<small class="text-muted">{{ a.user }} - {{ a.time|date:'SHORT_DATETIME_FORMAT' }}</small>
</div>
{% endfor %}
</div>