Hi.
I've been using tmux for a long time and a fact stroke me: even
when using strftime, the date is always displayed in english. I've
been compiling tmux after each new version in order to have the
date in my language.
Would it be possible to integrate my patch ?
Here it is as attachment.
Thomas.
diff -Naurp tmux-1.8/tmux.c tmux-1.8.new/tmux.c
--- tmux-1.8/tmux.c 2013-03-26 20:22:31.000000000 +0100
+++ tmux-1.8.new/tmux.c 2013-04-05 18:16:10.127349392 +0200
@@ -26,6 +26,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <locale.h>
#include "tmux.h"
@@ -244,6 +245,8 @@ main(int argc, char **argv)
malloc_options = (char *) "AFGJPX";
#endif
+ setlocale(LC_ALL, "");
+
quiet = flags = 0;
label = path = NULL;
login_shell = (**argv == '-');
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users