diff --git a/backend/timed/tracking/templates/mail/notify_user_changed_reports.tmpl b/backend/timed/tracking/templates/mail/notify_user_changed_reports.tmpl index 88a0ab34..b031592b 100644 --- a/backend/timed/tracking/templates/mail/notify_user_changed_reports.tmpl +++ b/backend/timed/tracking/templates/mail/notify_user_changed_reports.tmpl @@ -4,7 +4,7 @@ Some of your reports have been changed. Reviewer: {{reviewer.first_name }} {{ reviewer.last_name }} {% for changeset in user_changes %} -Date: {{ changeset.report.date|date:"SHORT_DATE_FORMAT" }} +Date: {{ changeset.report.date|date:"d F Y" }} Duration: {{ changeset.report.duration|duration }} {% if "task" not in changeset.changes %}Task: {{ changeset.report.task }}{% endif %} {% if "comment" not in changeset.changes %}Comment: {{ changeset.report.comment }}{% endif %} diff --git a/backend/timed/tracking/templates/mail/notify_user_rejected_reports.tmpl b/backend/timed/tracking/templates/mail/notify_user_rejected_reports.tmpl index ace805ea..adaed749 100644 --- a/backend/timed/tracking/templates/mail/notify_user_rejected_reports.tmpl +++ b/backend/timed/tracking/templates/mail/notify_user_rejected_reports.tmpl @@ -6,7 +6,7 @@ the reports to the correct project / task. Reviewer: {{reviewer.first_name }} {{ reviewer.last_name }} {% for changeset in user_changes %} -Date: {{ changeset.report.date|date:"SHORT_DATE_FORMAT" }} +Date: {{ changeset.report.date|date:"d F Y" }} Duration: {{ changeset.report.duration|duration }} Task: {{ changeset.report.task }} Comment: {{ changeset.report.comment }} diff --git a/backend/timed/tracking/tests/__snapshots__/test_report.ambr b/backend/timed/tracking/tests/__snapshots__/test_report.ambr index 43ef5529..46238c43 100644 --- a/backend/timed/tracking/tests/__snapshots__/test_report.ambr +++ b/backend/timed/tracking/tests/__snapshots__/test_report.ambr @@ -7,7 +7,7 @@ Reviewer: Test User - Date: 10/03/1998 + Date: 03 October 1998 Duration: 3:15 (h:mm) @@ -22,7 +22,7 @@ --- - Date: 05/27/2000 + Date: 27 May 2000 Duration: 2:30 (h:mm) Comment: some other comment @@ -33,7 +33,7 @@ --- - Date: 04/20/2005 + Date: 20 April 2005 Duration: 0:15 (h:mm) Task: Allen Inc > Cross-platform content-based synergy > LLC Comment: some other comment @@ -44,7 +44,7 @@ --- - Date: 03/23/2016 + Date: 23 March 2016 Duration: 1:00 (h:mm) Task: Allen Inc > Cross-platform content-based synergy > LLC