From ec9086aab15788df4d9bd05531ee10d3f9d260d4 Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Mon, 28 Nov 2011 09:50:50 -0600 Subject: [PATCH] Make time localized too. Closes FS#71 From: valere monseur (dobedo) --- scrotwm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scrotwm.c b/scrotwm.c index fa384f9..1144742 100644 --- a/scrotwm.c +++ b/scrotwm.c @@ -6329,7 +6329,8 @@ main(int argc, char *argv[]) start_argv = argv; fprintf(stderr, "Welcome to scrotwm V%s Build: %s\n", SCROTWM_VERSION, buildstr); - if (!setlocale(LC_CTYPE, "") || !XSupportsLocale()) + if (!setlocale(LC_CTYPE, "") || !setlocale(LC_TIME, "") || + !XSupportsLocale()) warnx("no locale support"); if (!(display = XOpenDisplay(0))) -- 1.7.10.4