From: notaz Date: Wed, 4 Jan 2012 22:07:24 +0000 (+0200) Subject: frontend: call setlocale to get LC_TIME X-Git-Tag: r13~11 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=846b66e185d12bebe95ffa2e905c52ea983f21e1;p=pcsx_rearmed.git frontend: call setlocale to get LC_TIME --- diff --git a/frontend/common/menu.c b/frontend/common/menu.c index 9a6a47c2..97e365d7 100644 --- a/frontend/common/menu.c +++ b/frontend/common/menu.c @@ -13,6 +13,7 @@ #include #include #include +#include // savestate date #include "menu.h" #include "fonts.h" @@ -310,6 +311,9 @@ void menu_init(void) } fclose(f); } + + // use user's locale for savestate date display + setlocale(LC_TIME, ""); } static void menu_draw_begin(int need_bg)