Mercurial > public > mercurial-scm > hg-stable
diff hgext/patchbomb.py @ 8520:8c7f1afad064
patchbomb: don't localize Date headers
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Tue, 19 May 2009 15:10:45 +0200 |
parents | 252232621165 |
children | 0289f384e1e5 |
line wrap: on
line diff
--- 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