Call setlocale(LC_TIME) at startup.

This commit is contained in:
Nicholas Marriott
2013-04-11 21:52:18 +00:00
parent cbee283c26
commit 7f9b225cc2
2 changed files with 14 additions and 4 deletions

3
tmux.c
View File

@ -22,6 +22,7 @@
#include <errno.h>
#include <event.h>
#include <fcntl.h>
#include <locale.h>
#include <paths.h>
#include <pwd.h>
#include <stdlib.h>
@ -243,6 +244,8 @@ main(int argc, char **argv)
malloc_options = (char *) "AFGJPX";
#endif
setlocale(LC_TIME, "");
quiet = flags = 0;
label = path = NULL;
login_shell = (**argv == '-');