hgext/patchbomb.py
changeset 8520 8c7f1afad064
parent 8514 252232621165
child 8761 0289f384e1e5
--- a/hgext/patchbomb.py	Tue May 19 14:14:07 2009 +0200
+++ b/hgext/patchbomb.py	Tue May 19 15:10:45 2009 +0200
@@ -415,7 +415,7 @@
             first = False
 
         m['User-Agent'] = 'Mercurial-patchbomb/%s' % util.version()
-        m['Date'] = util.datestr(start_time, "%a, %d %b %Y %H:%M:%S %1%2")
+        m['Date'] = email.Utils.formatdate(start_time[0])
 
         start_time = (start_time[0] + 1, start_time[1])
         m['From'] = sender