Localized month names?

Benji York benji at benjiyork.com
Mon Mar 13 23:45:56 CET 2006


Jarek Zgoda wrote:
> How do I get a list of localized month names for current locale? The
> first thing that came to my mind was an ugly hack:

 >>> import locale
 >>> locale.nl_langinfo(locale.MON_1)
'January'

--
Benji York



More information about the Python-list mailing list