Make time localized too.

Closes FS#71
From: valere monseur (dobedo)
This commit is contained in:
Marco Peereboom 2011-11-28 09:50:50 -06:00
parent 3036d4f595
commit ec9086aab1

View file

@ -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)))