[GNC-dev] gnucash maint: Bug 795080 - Some dates reset to 01/01/1970

Geert Janssens geert.gnucash at kobaltwit.be
Fri Nov 2 14:10:53 EDT 2018


Op vrijdag 2 november 2018 18:45:52 CET schreef John Ralls:
> Updated	 via  https://github.com/Gnucash/gnucash/commit/0e723610 (commit)
> 	from  https://github.com/Gnucash/gnucash/commit/19b3643a (commit)
> 
> 
> 
> commit 0e723610f0cb23515f564bc87e6b0b2f16577f5b
> Author: John Ralls <jralls at ceridwen.us>
> Date:   Fri Nov 2 10:29:52 2018 -0700
> 
>     Bug 795080 - Some dates reset to 01/01/1970
> 
>     The first fix for this bug handled structs tm with ambiguous times.
>     This one fixes the GncDate constructor when the time is ambiguous
>     because it's in the DST-change hour, using the same add 3 hours,
>     construct the LDT, and subtract the 3 hours from the result.
> 
>     The string constructor handles only simple-offset HH:MM timezones and so
> is immune to the bug.
> 
> --- a/po/POTFILES.in
> +++ b/po/POTFILES.in
> @@ -616,6 +616,7 @@ libgnucash/core-utils/gnc-locale-utils.c
>  libgnucash/core-utils/gnc-path.c
>  libgnucash/core-utils/gnc-prefs.c
>  libgnucash/doc/doxygen_main_page.c
> +libgnucash/engine/.#gnc-datetime.cpp

What is this file and does it have translatable strings ? Or did an editor's 
swap file sneak in here ?

Geert




More information about the gnucash-devel mailing list