perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pascal barbedor" <pascal.barbe...@laposte.net>
Subject Re: Apache::Util::ht_time outputs dates in local language
Date Sun, 08 Sep 2002 22:10:18 GMT


> This function wraps an apache function (apr_ht_time()) which in
> turn uses strftime() to do the conversion.
>
> Try changing your LC_TIME or LANG variable before you start your
> web server.  Perhaps start by setting LANG=C and go from there.
>
> Consult the strftime() man page for details on the interaction
> between the environment variables and the time output.
>
on win XP
I tried "no locale " in the perl script
and LANG=C in ENV before starting Apache

since none worked I just wrote a little function to get correct date in
english
thanks
pascal





Mime
View raw message