aboutsummaryrefslogtreecommitdiff
path: root/frontend/common
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/common')
-rw-r--r--frontend/common/menu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/frontend/common/menu.c b/frontend/common/menu.c
index 9a6a47c..97e365d 100644
--- a/frontend/common/menu.c
+++ b/frontend/common/menu.c
@@ -13,6 +13,7 @@
#include <stdlib.h>
#include <stdarg.h>
#include <time.h>
+#include <locale.h> // 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)