Elvis Fernandes wrote:
>
>I setup mailman-2.1.6 with date stamp patch (date-in-archive-index-1.patch)
>on Solaris8.
>Now the date and time show up against every msg in pipermail archives.
>
>However, the date and time in pipermail is in GMT.
>The same mail I receive in my mail reader in PST.
>
>Is there some place I can update the pipermail timezone to PST?
The patch you installed added the following four lines around line 1035
in Mailman/Archiver/HyperArch.py.
date = float(date)
date = time.gmtime(date)
date = time.strftime("%b %d %Y - %H:%M:%S",date)
date = CGIescape(date, self.lang)
If you change
date = time.gmtime(date)
to
date = time.localtime(date)
you'll get local time.
--
Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy:
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp