i18n: strftime() with other locale

Thomas Guettler zopestoller at thomas-guettler.de
Tue May 14 11:14:12 EDT 2002


Hi!

time.strftime() depends on the current locale.
Is there a way to change the locale for just one
function call?

It is multithreaded application, and I only want
to change the local for this call.

Background:

"%A  Locale's full weekday name." should return "Montag"
instead of "Monday".


  thomas




More information about the Python-list mailing list