From 846b66e185d12bebe95ffa2e905c52ea983f21e1 Mon Sep 17 00:00:00 2001 From: notaz Date: Thu, 5 Jan 2012 00:07:24 +0200 Subject: [PATCH] frontend: call setlocale to get LC_TIME --- frontend/common/menu.c | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.39.5