From 11083d60520bfda3c301f495c0a6131fda8bba85 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Tue, 19 Feb 2019 09:48:01 -0800 Subject: [PATCH] Bug 796989 - some date/time does not honor user locale (bis). Set the locale for C so that it matches what's set for C++. --- libgnucash/engine/test/test-qof.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libgnucash/engine/test/test-qof.c b/libgnucash/engine/test/test-qof.c index c558c8110a..3eecad9f61 100644 --- a/libgnucash/engine/test/test-qof.c +++ b/libgnucash/engine/test/test-qof.c @@ -22,6 +22,7 @@ #include +#include #include #include "qof.h" @@ -35,6 +36,7 @@ int main (int argc, char *argv[]) { + setlocale (LC_ALL, ""); qof_init(); /* Initialize the GObject system */ qof_log_init_filename_special("stderr"); /* Init the log system */ g_test_init ( &argc, &argv, NULL ); /* initialize test program */