From 0551dc5d31c2472c737a40b3b1c9e87f73732cb3 Mon Sep 17 00:00:00 2001 From: Reed Loden Date: Wed, 7 Jul 2010 23:14:56 -0700 Subject: 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 --- Bugzilla/Mailer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Mailer.pm') 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())); } } -- cgit v1.2.3-24-g4f1b