summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Mailer.pm
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 /Bugzilla/Mailer.pm
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 'Bugzilla/Mailer.pm')
-rw-r--r--Bugzilla/Mailer.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Mailer.pm b/Bugzilla/Mailer.pm
index 596e8ab65..c8a99b873 100644
--- a/Bugzilla/Mailer.pm
+++ b/Bugzilla/Mailer.pm
@@ -157,7 +157,7 @@ sub MessageToMTA {
# Sendmail adds a Date: header also, but others may not.
if (!defined $email->header('Date')) {
- $email->header_set('Date', time2str("%a, %e %b %Y %T %z", time()));
+ $email->header_set('Date', time2str("%a, %d %b %Y %T %z", time()));
}
}