gnucash maint: Fix erratic localization of dates on Windows.

John Ralls jralls at code.gnucash.org
Mon Feb 11 19:35:25 EST 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/bfadfd7d (commit)
	from  https://github.com/Gnucash/gnucash/commit/8f88b7f2 (commit)



commit bfadfd7d6df15c90262e12c7a11831c8cbd874d1
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Feb 11 16:24:03 2019 -0800

    Fix erratic localization of dates on Windows.
    
    Date format selection on Windows relies on Windows National Language
    functions and those are unaffected by the POSIX setlocale(). We have
    in the past relied upon gtk initialization to handle this but it has
    not been reliable since the move to Gtk3. Note that this applies only
    when the locale is set via a Unix-style environment variable (typically
    LANG) or in the environment file; it's unnecessary and ignored when
    using the localization settings in Region & Language.



Summary of changes:
 gnucash/gnucash-bin.c | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)



More information about the gnucash-patches mailing list