Herbey000 / gource

Automatically exported from code.google.com/p/gource
0 stars 0 forks source link

Allow localized display of date/time #227

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I tried to display the date in Spanish. So, I inserted this line

    setlocale(LC_TIME, "es_ES");

in gource.cpp, inside

    void Gource::updateTime(time_t display_time) {

then built and installed, but date is still in English. I know the whole 
compile/install process is working because I have tested other [unrelated] 
changes and they worked.

Alternatively, gource could perhaps obey the global locale setting in one's 
system.

-- What version of the product are you using? On what operating system?

latest git commit 0d4a8693
Date:   Wed Jul 2 10:56:28 2014 +1200
Updated boost autoconf macros to fix multi-arch detection.
Bumped version number.

Thanks

Original issue reported on code.google.com by paconet....@gmail.com on 1 Oct 2014 at 8:41

GoogleCodeExporter commented 9 years ago
Forgot the OS:
Linux 3.14-2-amd64 #1 SMP Debian 3.14.15-2 (2014-08-09) x86_64 GNU/Linux

Original comment by paconet....@gmail.com on 1 Oct 2014 at 8:43