On Fri, Feb 28, 2003 at 11:42:40PM +0100, Germain wrote: > 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); >
1 reason: This is part of a much bigger problem: locale and gettext should be used to regionalize the language used in alert emails/etc I'd be *really* happy to have some help on this. I'd like to tear out the whole language thing and replace it with proper localization. Unfortunately, that sort of isn't an area I've had anything to do with before, so the learning curve for me is pretty steep... -- Cheers Jason Haar Information Security Manager, Trimble Navigation Ltd. Phone: +64 3 9635 377 Fax: +64 3 9635 417 PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1 ------------------------------------------------------- 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