aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Cgi
diff options
context:
space:
mode:
authortkikuchi <>2004-12-04 05:01:12 +0000
committertkikuchi <>2004-12-04 05:01:12 +0000
commit6ef4add85550125be228de3b20c30859d539e32b (patch)
treef5b9a3f0c9703d662b7acbe8c751314957df637f /Mailman/Cgi
parentb8c69348f850a6f7e7dd9bde14ca2b2b0185684a (diff)
downloadmailman2-6ef4add85550125be228de3b20c30859d539e32b.tar.gz
mailman2-6ef4add85550125be228de3b20c30859d539e32b.tar.xz
mailman2-6ef4add85550125be228de3b20c30859d539e32b.zip
Python 2.4 checks strftime() more strict.
Split GetConfirmSubject into Leave/Join.
Diffstat (limited to 'Mailman/Cgi')
-rw-r--r--Mailman/Cgi/confirm.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/Cgi/confirm.py b/Mailman/Cgi/confirm.py
index a1886052..f2bda8b1 100644
--- a/Mailman/Cgi/confirm.py
+++ b/Mailman/Cgi/confirm.py
@@ -781,7 +781,8 @@ def reenable_prompt(mlist, doc, cookie, list, member):
<a href="%(listinfourl)s">list information page</a>.""")])
return
- date = time.strftime('%A, %B %d, %Y', info.date + (0,) * 6)
+ date = time.strftime('%A, %B %d, %Y',
+ time.localtime(time.mktime(info.date + (0,)*6)))
daysleft = int(info.noticesleft *
mlist.bounce_you_are_disabled_warnings_interval /
mm_cfg.days(1))