(x_term_init): Restore LC_TIME as well as LC_NUMERIC.
#endif
#endif
-#ifdef HAVE_X11XTR6
+#ifdef HAVE_SETLOCALE
/* So we can do setlocale. */
#include <locale.h>
#endif
setlocale (LC_ALL, "");
/* In case we just overrode what init_lread did, redo it. */
setlocale (LC_NUMERIC, "C");
+ setlocale (LC_TIME, "C");
#endif
#ifdef USE_X_TOOLKIT
&argc, argv);
#ifdef HAVE_X11XTR6
+ /* I think this is to compensate for XtSetLanguageProc. */
setlocale (LC_NUMERIC, "C");
setlocale (LC_TIME, "C");
#endif