Dallas Engelken wrote:

> The only date this patch does not effect is the date in the received
> headers, which is correct in it's format of  DD Month YYYY hh:mm:ss
> -0000


But the date in the received headers is not correct too if the default locale is not set to english/C. The month is written in the country langage (for example 'fév' for february in french).


I've already sent an email to this list proposing to add the line:
POSIX::setlocale(LC_ALL, "C");
before:
$findate = POSIX::strftime( "%d %b ",$sec,$min,$hour,$mday,$mon,$year);


Perhaps we'll have to save the current locale before this call and set it after the strftime.


--
Germain




------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to