Bug#259423: xclock does not use locales with strftime
As nobody seems to want to fix that, I did it myself :)
It was rather simple enough to be made in a few minutes.
Just 2 more lines in the code...
Here is the patch :
--- xclock.c.orig Thu Nov 4 22:16:36 2004
+++ xclock.c Thu Nov 4 21:59:28 2004
@@ -33,6 +33,7 @@
@@ -145,6 +146,7 @@
Pixmap icon_pixmap = None;
+ setlocale(LC_TIME, "");
toplevel = XtOpenApplication(&app_con, "XClock",
options, XtNumber(options), &argc, argv, NULL,
sessionShellWidgetClass, NULL, ZERO);
/* After several hours of tedious analysis, the following hash
* function won. Do not mess with it... -DaveM