summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcron/gate_news2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron/gate_news b/cron/gate_news
index fd034d3a8..35366c75c 100755
--- a/cron/gate_news
+++ b/cron/gate_news
@@ -100,7 +100,7 @@ def poll_newsgroup(mlist, conn, first, last):
# (i.e. "From " header). This breaks Pipermail archiving, so we
# will synthesize one. Be sure to use the format searched for by
# mailbox.UnixMailbox._isrealfromline()
- timehdr = time.asctime(time.localtime(time.time()))
+ timehdr = time.ctime(time.time())
lines = ['From ' + mlist.GetAdminEmail() + ' ' + timehdr]
lines.extend(headers)
lines.append('')