From 774940b9220797172348e98bb52bb3954a1ece1c Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Fri, 17 May 2002 23:57:21 +0000 Subject: __handlepost(): Use localtime for the X-Mailman-Approved-At: header. --- Mailman/ListAdmin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mailman/ListAdmin.py') diff --git a/Mailman/ListAdmin.py b/Mailman/ListAdmin.py index fd402ab76..2079be179 100644 --- a/Mailman/ListAdmin.py +++ b/Mailman/ListAdmin.py @@ -293,7 +293,7 @@ class ListAdmin: # Queue the file for delivery by qrunner. Trying to deliver the # message directly here can lead to a huge delay in web # turnaround. Log the moderation and add a header. - msg['X-Mailman-Approved-At'] = email.Utils.formatdate() + msg['X-Mailman-Approved-At'] = email.Utils.formatdate(localtime=1) syslog('vette', 'held message approved, message-id: %s', msg.get('message-id', 'n/a')) # Stick the message back in the incoming queue for further -- cgit v1.2.3-70-g09d2