[ OpenInfo Home ] [ UP ]

Mailman Patch #732366 posting date on archive pages is wrong

Description

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

Applicability

This patch is applicable to Mailman 2.1.2 only.

Necessary Precursors

None

Changes Made

Use of the email.Utils.mktime_tz() function instead of the time.mktime() function within the pipermail.Archive._set_date() function resolves the problem.

Applying the patch

Apply the patch from within the Mailman build directory using the command:

    patch -p1 < path-to-patch-file

Download Patch File

MM Version Download
2.1.3 and later. Patch incorporated into Mailman source and no longer required.
2.1.2 Download


Click to e-mail comments or complaints Last updated: 29-Sep-03 11:34 pm

[ OpenInfo Home ] [ UP ]