www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Jung <aj...@sz-sb.de>
Subject Re: mod_log-any/679: mod_log_config logs wrong month names in german/english
Date Mon, 07 Jul 1997 06:09:42 GMT
On Sun, 6 Jul 1997, Marc Slemko wrote:

> Synopsis: mod_log_config logs wrong month names in german/english
> State-Changed-From-To: analyzed-closed
> State-Changed-By: marc
> State-Changed-When: Sun Jul  6 19:02:21 PDT 1997
> State-Changed-Why:
> As Dean says, is related to PHP changing the locale.
> Apache perhaps should do something about the locale itself,
> but it is not acceptable to reset it all the time in case
> some other module changed it because of the performance
> implications.

Why don't you read the current month from "struct tm" by number and
take the month abrevation from a constant field containing the month names


                               (' O-O ')
  Andreas Jung, Saarbr├╝cker Zeitung, Gutenbergstr. 11-23, D-66117 Saarbr├╝cken
  Phone: +49-(0)681-502-1528   E-Mail: ajung@sz-sb.de (PGP key available)
  SZ-Newsline: http://www.sz-sb.de/, Saarland-Online: http://www.saar-ol.de/ 

View raw message