mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-30 12:44:01 -06:00
7d7da8e2c4
Revert using boost::locale to generate std::locales as boost::locale- generated locales don't implement std::locale::facet and there was a bug in the boost::locale ICU wrapper code that caused the wrong year to be output for the last 3 days of December. GCC's libstdc++ supports only the "C" locale on Windows and throws if one attempts to create any other kind. For dates we work around this by using wstrftime() to format according to locale and then convert the UTF16 string to UTF8. wstrftime() interprets the time zone flags %z, %Z, and %ZP differently so we process those first before calling strftime. This will have the unfortunate effect of not localizing timezone names but it's as close as we can get. |
||
---|---|---|
.. | ||
test | ||
binreloc.c | ||
binreloc.h | ||
CMakeLists.txt | ||
core-utils.i | ||
core-utils.scm | ||
gnc-environment.c | ||
gnc-environment.h | ||
gnc-filepath-utils.cpp | ||
gnc-filepath-utils.h | ||
gnc-gkeyfile-utils.c | ||
gnc-gkeyfile-utils.h | ||
gnc-glib-utils.c | ||
gnc-glib-utils.h | ||
gnc-guile-utils.c | ||
gnc-guile-utils.h | ||
gnc-jalali.c | ||
gnc-jalali.h | ||
gnc-locale-utils.c | ||
gnc-locale-utils.cpp | ||
gnc-locale-utils.h | ||
gnc-locale-utils.hpp | ||
gnc-path.c | ||
gnc-path.h | ||
gnc-prefs-p.h | ||
gnc-prefs.c | ||
gnc-prefs.h | ||
gncla-dir.h.in |