diff options
| author | bwarsaw | 2002-12-07 22:32:06 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-12-07 22:32:06 +0000 |
| commit | dc7419ac4b677865de9e1355400d0946df139154 (patch) | |
| tree | fb677dcaa8b74a586da23e0727f85ebdced34ded /Mailman/Archiver | |
| parent | 95544af1dd7cc62719c4f67819594558da2886b1 (diff) | |
| download | mailman-dc7419ac4b677865de9e1355400d0946df139154.tar.gz mailman-dc7419ac4b677865de9e1355400d0946df139154.tar.zst mailman-dc7419ac4b677865de9e1355400d0946df139154.zip | |
_set_date(): Don't convert to GMT. Keep dates local. Closes SF bug
#643231
Diffstat (limited to 'Mailman/Archiver')
| -rw-r--r-- | Mailman/Archiver/pipermail.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Archiver/pipermail.py b/Mailman/Archiver/pipermail.py index c32fec9f2..5eefde3d5 100644 --- a/Mailman/Archiver/pipermail.py +++ b/Mailman/Archiver/pipermail.py @@ -224,7 +224,7 @@ class Article: if date is not None: date, tzoffset = date[:9], date[-1] or 0 try: - date = time.mktime(date) - tzoffset + date = time.mktime(date)# - tzoffset except (ValueError, OverflowError): date = self._last_article_time + 1 #print 'Article with bad date:', self.msgid |
