From: Florent R. <f.r...@fr...> - 2005-05-03 09:53:13
|
Hi, "Werner F. Bruhin" <wer...@fr...> wrote: > The solution which works for me is to "import locale" and get the default > encoding from it. I have tested it on both Win XP and 2000 and it works for > me, i.e. in English locale I get "Dec" and in French locale I get "déc." etc. > without the correction I would get a graphic sign for the "é". Successfully tested on Linux with LC_TIME=fr_FR. > The only two changes needed to dates.py are: > > import locale > > and change > > return dt.strftime(fmt) There are several other uses of strftime. Maybe some of them should be changed, also... -- Florent |