aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux.c b/tmux.c
index 1f4057dc..e9b28d7e 100644
--- a/tmux.c
+++ b/tmux.c
@@ -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 == '-');