mirror of https://github.com/Gnucash/gnucash
When saving the 'fy_end' date in the GncPeriodSelect widget the year was being saved as G_DATE_BAD_YEAR. In doing so, the month and day when retrieved will be 0. If the year is set separately with g_date_set_year and G_DATE_BAD_YEAR is used the following error is logged... ERROR <GLib> g_date_set_year: assertion 'g_date_valid_year (y)' failed So to fix this just copy the incoming 'fy_end' GDate.stable
parent
a135c25758
commit
eb96f8e7f2
Loading…
Reference in new issue