mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Make date of sending relative
This is a friendlier and better way of showing dates anywhere except in a report which might be archived and referred back to later. Bit trickier to implement here because a dat requires ‘on’ beforehand, but we don’t say ‘on today’ in English.
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
{% elif created_by %}
|
||||
by {{ created_by.name }}
|
||||
{% endif %}
|
||||
on {{ created_at|format_datetime_short }}
|
||||
{{ created_at|format_datetime_human }}
|
||||
</p>
|
||||
|
||||
{% if template.template_type == 'letter' %}
|
||||
|
||||
Reference in New Issue
Block a user