gnucash maint: Fix erratic localization of dates on Windows.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

gnucash maint: Fix erratic localization of dates on Windows.

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



commit bfadfd7d6df15c90262e12c7a11831c8cbd874d1
Author: John Ralls <[hidden email]>
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(+)

_______________________________________________
gnucash-patches mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-patches