pipermail/hypermail mbox-archive
There was a short discussion a month or so ago about the hyperarch 'mbox' archives having the wrong kind of date in the 'From ' lines... 'unixfrom' lines should have a very specific dateformat, namely that which 'time.ctime' returns. The following patch fixes Archiver/HyperArch.py. However, I'm not entirely sure if it will work correctly in other locales... can anyone test that, and propose a locale-independant way of producing this format ?
Grtz,
Thomas Wouters <thomas@xs4all.net>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
"TW" == Thomas Wouters <thomas@xs4all.net> writes:
TW> There was a short discussion a month or so ago about the
TW> hyperarch 'mbox' archives having the wrong kind of date in the
TW> 'From ' lines... 'unixfrom' lines should have a very specific
TW> dateformat, namely that which 'time.ctime' returns. The
TW> following patch fixes Archiver/HyperArch.py. However, I'm not
TW> entirely sure if it will work correctly in other
TW> locales... can anyone test that, and propose a
TW> locale-independant way of producing this format ?
I didn't see a followup so I'm going to check this change in.
Thanks, -Barry
On Wed, May 31, 2000 at 04:17:00PM -0400, Barry A. Warsaw wrote:
TW> There was a short discussion a month or so ago about the TW> hyperarch 'mbox' archives having the wrong kind of date in the TW> 'From ' lines... 'unixfrom' lines should have a very specific TW> dateformat, namely that which 'time.ctime' returns. The TW> following patch fixes Archiver/HyperArch.py. However, I'm not TW> entirely sure if it will work correctly in other TW> locales... can anyone test that, and propose a TW> locale-independant way of producing this format ?
I didn't see a followup so I'm going to check this change in.
For the record, you can disregard the locale remark. ctime() is *exactly* how the From_ line should store its date, regardless of locale or what not.
-- Thomas Wouters <thomas@xs4all.net>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
participants (2)
-
bwarsaw@python.org
-
Thomas Wouters