[Mailman-Users] Timezone problem
Brian Knotts
bknotts at europa.com
Mon Jul 19 18:30:57 CEST 1999
On 19-Jul-99 Nigel Metheringham wrote:
> If you find the line near the bottom of Message.py which has:-
>
> def SetDate(self, date=time.ctime(time.time())):
>
> and modify it to something like:-
>
> def SetDate(self, date=time.strftime("%a, %d %b %Y %H:%M:%S %z",
time.localtime(time.time()))):
Yes. That fixed it. Thanks much!
I had actually tried hacking that line previously, but I didn't have the syntax
right (not surprising, since I don't really know Python...).
---
------------------------------------------------------------------------
Brian Knotts bknotts at europa.com
More information about the Mailman-Users
mailing list