The posting date/time shown near the top of archived messages generated by the internal pipermail archiver is wrong and does not reflect the timezone in the Date: header of the posting.
Only posting from within the same timezone as the MM server are rendered correctly.
In the archives of lists where there are posts from users in multiple timezones this means that the archive order and juxtapostioning of postings is wrong.
The problem is cause by a defect in the pipermail.Archive._set_date() function in $build/Mailman/Archive/pipermail.py
This patch is applicable to Mailman 2.1.2 only.
None
Use of the email.Utils.mktime_tz() function instead of the time.mktime() function within the pipermail.Archive._set_date() function resolves the problem.
Apply the patch from within the Mailman build directory using the command:
patch -p1 < path-to-patch-file
| MM Version | Download |
|---|---|
| 2.1.3 and later. | Patch incorporated into Mailman source and no longer required. |
| 2.1.2 |
|
| Click to e-mail comments or complaints | Last updated: 29-Sep-03 11:34 pm |