Converting DD MM YYYY into YYYY-MM-DD?

Jonathan Gardner jgardner at
Tue Aug 18 04:38:34 CEST 2009

On Aug 17, 5:18 pm, "Rami Chowdhury" <rami.chowdh... at> wrote:
> >>> import locale
> >>> locale.setlocale(locale.LC_ALL, 'FR')

locale is nice when you only have a single thread.

Webservers aren't single threaded. You can't serve up one page for one
locale and then another in another locale without seeing very, very
weird behavior.

More information about the Python-list mailing list