mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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++.
This commit is contained in:
parent
6f5be2a473
commit
11083d6052
@ -22,6 +22,7 @@
|
||||
|
||||
|
||||
#include <config.h>
|
||||
#include <locale.h>
|
||||
#include <glib.h>
|
||||
#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 */
|
||||
|
Loading…
Reference in New Issue
Block a user