summaryrefslogtreecommitdiffstats
path: root/template/en/default/email
diff options
context:
space:
mode:
authorReed Loden <reed@reedloden.com>2010-07-08 08:14:56 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-08 08:14:56 +0200
commit0551dc5d31c2472c737a40b3b1c9e87f73732cb3 (patch)
tree82531d1f1ab75a9d22867be498cd3ca37c3aaf09 /template/en/default/email
parent5f7726c010bf79f584d1224e39070ca0f64fe4ff (diff)
downloadbugzilla-0551dc5d31c2472c737a40b3b1c9e87f73732cb3.tar.gz
bugzilla-0551dc5d31c2472c737a40b3b1c9e87f73732cb3.tar.xz
Bug 452761: Make the Date header of bugmail and requestmail always be
equal to the delta_ts of the bug. This makes emails have the right Date even when they are sent much later by jobqueue.pl. r=mkanat, a=mkanat
Diffstat (limited to 'template/en/default/email')
-rw-r--r--template/en/default/email/newchangedmail.txt.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/template/en/default/email/newchangedmail.txt.tmpl b/template/en/default/email/newchangedmail.txt.tmpl
index 4163306f4..e138eff23 100644
--- a/template/en/default/email/newchangedmail.txt.tmpl
+++ b/template/en/default/email/newchangedmail.txt.tmpl
@@ -24,6 +24,7 @@
From: [% Param('mailfrom') %]
To: [% to_user.email %]
Subject: [[% terms.Bug %] [%+ bug.id %]] [% 'New: ' IF isnew %][%+ bug.short_desc %]
+Date: [% bug.delta_ts FILTER time("%a, %d %b %Y %T %z", to_user.timezone) %]
X-Bugzilla-Reason: [% reasonsheader %]
X-Bugzilla-Type: [% isnew ? 'new' : 'changed' %]
X-Bugzilla-Watch-Reason: [% reasonswatchheader %]