diff hgext/patchbomb.py @ 9047:8263d98ffb1c

patchbomb: use local time for the Date: header
author C?dric Duval <cedricduval@free.fr>
date Sun, 05 Jul 2009 17:09:01 +0200
parents 1547126630e9
children 141e3ef20d84
line wrap: on
line diff
--- a/hgext/patchbomb.py	Sun Jul 05 16:42:10 2009 +0200
+++ b/hgext/patchbomb.py	Sun Jul 05 17:09:01 2009 +0200
@@ -417,7 +417,7 @@
             first = False
 
         m['User-Agent'] = 'Mercurial-patchbomb/%s' % util.version()
-        m['Date'] = email.Utils.formatdate(start_time[0])
+        m['Date'] = email.Utils.formatdate(start_time[0], localtime=True)
 
         start_time = (start_time[0] + 1, start_time[1])
         m['From'] = sender