Show deletion_datetime in localized format (in the future will take the language) and with timezone

remotes/origin/enhancement/email-actions
Jesús Espino 2015-01-22 18:44:50 +01:00
parent 006dbd7278
commit f106c5d6c0
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
{% trans user=user.get_full_name()|safe,
project=project.name|safe,
url=url,
deletion_date=deletion_date|date("d/M/Y H:i") %}
deletion_date=deletion_date|date("SHORT_DATETIME_FORMAT") + deletion_date|date(" T") %}
<h1>Project dump generated</h1>
<p>Hello {{ user }},</p>
<h3>Your dump from project {{ project }} has been correctly generated.</h3>

View File

@ -1,7 +1,7 @@
{% trans user=user.get_full_name()|safe,
project=project.name|safe,
url=url,
deletion_date=deletion_date|date("d/M/Y H:i") %}
deletion_date=deletion_date|date("SHORT_DATETIME_FORMAT") + deletion_date|date(" T") %}
Hello {{ user }},
Your dump from project {{ project }} has been correctly generated. You can download it here: