From f106c5d6c02841c5ed8f41893a0db534cf791ce7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Thu, 22 Jan 2015 18:44:50 +0100 Subject: [PATCH] Show deletion_datetime in localized format (in the future will take the language) and with timezone --- .../export_import/templates/emails/dump_project-body-html.jinja | 2 +- .../export_import/templates/emails/dump_project-body-text.jinja | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/taiga/export_import/templates/emails/dump_project-body-html.jinja b/taiga/export_import/templates/emails/dump_project-body-html.jinja index 3c6ba602..bac303e7 100644 --- a/taiga/export_import/templates/emails/dump_project-body-html.jinja +++ b/taiga/export_import/templates/emails/dump_project-body-html.jinja @@ -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") %}

Project dump generated

Hello {{ user }},

Your dump from project {{ project }} has been correctly generated.

diff --git a/taiga/export_import/templates/emails/dump_project-body-text.jinja b/taiga/export_import/templates/emails/dump_project-body-text.jinja index 3770092d..f8b94d5d 100644 --- a/taiga/export_import/templates/emails/dump_project-body-text.jinja +++ b/taiga/export_import/templates/emails/dump_project-body-text.jinja @@ -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: