diff options
| author | bwarsaw | 2002-08-02 19:26:41 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-08-02 19:26:41 +0000 |
| commit | d5dd3f5e368f3a74aa67dc9a824d011ecfa68934 (patch) | |
| tree | 133e40a7618221bc19cd40cabdc4e1bb49b34ddb /Mailman/HTMLFormatter.py | |
| parent | 1c334849852b9f739bcb17b017de3affc7b6be81 (diff) | |
| download | mailman-d5dd3f5e368f3a74aa67dc9a824d011ecfa68934.tar.gz mailman-d5dd3f5e368f3a74aa67dc9a824d011ecfa68934.tar.zst mailman-d5dd3f5e368f3a74aa67dc9a824d011ecfa68934.zip | |
Diffstat (limited to 'Mailman/HTMLFormatter.py')
| -rw-r--r-- | Mailman/HTMLFormatter.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Mailman/HTMLFormatter.py b/Mailman/HTMLFormatter.py index c6acae6b6..bf291d79a 100644 --- a/Mailman/HTMLFormatter.py +++ b/Mailman/HTMLFormatter.py @@ -17,6 +17,7 @@ """Routines for presentation of list-specific HTML text.""" +import time import re from Mailman import mm_cfg @@ -137,7 +138,10 @@ class HTMLFormatter: elif status == MemberAdaptor.BYADMIN: reason = _('; it was disabled by the list administrator') elif status == MemberAdaptor.BYBOUNCE: - reason = _('; it was disabled due to excessive bounces') + date = time.strftime('%d-%b-%Y', + time.localtime(Utils.midnight(info.date))) + reason = _('''; it was disabled due to excessive bounces. The + last bounce was received on %(date)s''') elif status == MemberAdaptor.UNKNOWN: reason = _('; it was disabled for unknown reasons') if reason: |
