[issue10092] calendar does not restore locale properly

Boštjan Mejak report at bugs.python.org
Wed Dec 1 22:07:06 CET 2010


Boštjan Mejak <bostjan.mejak at gmail.com> added the comment:

>>> calendar.LocaleTextCalendar(locale='fr_FR').formatmonthname(2010,10,10)
is not valid because 'fr_FR' is not a valid value for the 'locale' argument

What is valid is this:
>>> calendar.LocaleTextCalendar(locale='French').formatmonthname(2010,10,10)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10092>
_______________________________________


More information about the Python-bugs-list mailing list