summaryrefslogtreecommitdiff
path: root/Mailman/Archiver/HyperArch.py
diff options
context:
space:
mode:
authorbwarsaw2000-05-31 20:20:46 +0000
committerbwarsaw2000-05-31 20:20:46 +0000
commit487ff8820286c48a67835b22e19b74d7a5eb0ec2 (patch)
treefb0b66153afeeb0adeaccd9c9ce79471bd61fdbf /Mailman/Archiver/HyperArch.py
parent7fd37c9604433bf7b4b038a6de52d534619b9de1 (diff)
downloadmailman-487ff8820286c48a67835b22e19b74d7a5eb0ec2.tar.gz
mailman-487ff8820286c48a67835b22e19b74d7a5eb0ec2.tar.zst
mailman-487ff8820286c48a67835b22e19b74d7a5eb0ec2.zip
Diffstat (limited to 'Mailman/Archiver/HyperArch.py')
-rw-r--r--Mailman/Archiver/HyperArch.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mailman/Archiver/HyperArch.py b/Mailman/Archiver/HyperArch.py
index 18f35c81e..08f5c90ce 100644
--- a/Mailman/Archiver/HyperArch.py
+++ b/Mailman/Archiver/HyperArch.py
@@ -71,7 +71,7 @@ def url_quote(s):
article_text_template="""\
-From %(email)s %(datestr)s
+From %(email)s %(fromdate)s
Date: %(datestr)s
From: %(author)s %(email)s
Subject: %(subject)s
@@ -161,6 +161,7 @@ quotedpat=re.compile(r'^([>|:]|>)+')
# subject : Subject
# datestr : The posting date, in human-readable format
# date : The posting date, in purely numeric format
+# fromdate : The posting date, in `unixfrom' format
# headers : Any other headers of interest
# author : The author's name (and possibly organization)
# email : The author's e-mail address
@@ -254,6 +255,7 @@ class Article(pipermail.Article):
else:
date=self.__last_article_time+1
+ self.fromdate = time.ctime(date)
self.__last_article_time=date
self.date='%011i' % (date,)