mydate.strftime('%x') and cgi script

Sibylle Koczian Sibylle.Koczian at Bibliothek.Uni-Augsburg.de
Fri Mar 24 13:59:11 CET 2006


Marc 'BlackJack' Rintsch schrieb:
> In <487tlsFif6m9U1 at news.dfncis.de>, Sibylle Koczian wrote:
> 
>>
>>The web server is on my machine - doesn't it use its regional settings?
> 
> 
> The settings are per user and stored in environment variables.  Apache
> clears most of them at start.
> 
> 
> 
> `setlocale()` is executed but if there are no environment variables (LANG,
> LC_*) then the default locale `C` is chosen.
> 

And these environment variables aren't there because Apache has cleared
them at start - right?

Thank you,
Koczian

-- 
Dr. Sibylle Koczian
Universitaetsbibliothek, Abt. Naturwiss.
D-86135 Augsburg
e-mail : Sibylle.Koczian at Bibliothek.Uni-Augsburg.DE



More information about the Python-list mailing list