From: Matthijs Kooijman Date: Thu, 7 Feb 2008 16:52:29 +0000 (+0100) Subject: * Format the date in the influence changed email as a dutch date (Haven't found... X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=0cfb792ba1117cb2f1243e415aafb9a8d9364653;p=matthijs%2Fprojects%2Fxerxes.git * Format the date in the influence changed email as a dutch date (Haven't found a reliable way to do this locale specific yet...). --- diff --git a/templates/influences/email/influence_changed.html b/templates/influences/email/influence_changed.html index 6431ff0..ea98d9b 100644 --- a/templates/influences/email/influence_changed.html +++ b/templates/influences/email/influence_changed.html @@ -3,7 +3,7 @@ Subject: {% if created %}{% blocktrans %}Influence "{{ influence }}" submitted.{ {% if recipients.0.first_name %}{% blocktrans with recipients.0.first_name as name %}Hello {{ name }}{% endblocktrans %}{% else %}{% trans "L.S." %}{% endif %}, {% filter wordwrap:72 %} -{% blocktrans with influence.created as creation_date %}You have submitted an influence on {{ creation_date }}.{% endblocktrans %} +{% blocktrans with influence.created|date:"j F Y" as creation_date %}You have submitted an influence on {{ creation_date }}.{% endblocktrans %} {% if not created %}{% blocktrans %}The influence has been modified. The current status is{%endblocktrans %}:{% else %}{% blocktrans %}You submitted{% endblocktrans%}:{% endif %} {% endfilter %} {% filter ljust:20%}{% trans "Character" %}:{%endfilter%}{{ influence.character }}