[Mailman-Developers] Patch for making digest_arch a bit less stupid
Barry A. Warsaw
barry@digicool.com
Sun, 25 Mar 2001 19:03:24 -0500
>>>>> "TFH" == Tollef Fog Heen <tollef@add.no> writes:
TFH> I don't use it, but I have a bug report about "mailman
TFH> archiver not handling years like '100'".
TFH> And the patch needs a fix :/
| --- bin/digest_arch~ Tue Mar 21 07:26:18 2000
| +++ bin/digest_arch Sat Mar 24 01:14:51 2001
| @@ -90,7 +90,7 @@
| last_dow = days_of_week.index(dow)
| if len(year) == 2:
| - year = '19' + year
| + year = 1900 + int(year) # some MUAs are stupid
TFH> If this isn't used at all any more, I'll just close the bug
TFH> report, and you can ignore this patch.
I've applied the patch, but not tested it, since digest_arch is
deprecated. You can go ahead and close the debian bug. Other than
this, Mailman 2.x's archiver should handle dates < 100 "properly".
Thanks,
-Barry