Ticket #2538 (closed defect: duplicate)
Moon does not localize date/time strings
|Reported by:||walter||Owned by:||garycmartin|
|Priority:||Unspecified by Maintainer||Milestone:||Unspecified by Release Team|
|Component:||Moon||Version:||Git as of bugdate|
In the display of the various 'Next' string, locale is not taken into consideration when displaying ctime. Thus the day and month abbreviated names are in English, despite the locale setting.
We need to replace the called to ctime with a call strftime
locale.nl_langinfo(locale.D_T_FMT) returns the formatting information you need.
I've not quite figured out the proper syntax for putting it all together.