Mar 09, '04 09:49:00AM • Contributed by: SuperCheese
I found a Perl script online that converts the date to the correct format. (It's probably a good idea to run this on a copy of your mbox file in case it doesn't work.)
#! /usr/bin/perl -ni.bak
use Date::Parse ;
use Date::Format ;
$template = "%a %b %d %R:%S %Y" ;
if (/(^From )([^ ]*) (.*)/) {
$time = str2time($3) ;
$date = time2str($template, $time) ;
print "$1$2 $date\n" ;
} else {
print ;
} ;
[robg adds: I haven't tested this one...]
