mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Call existing function to find the end of the day.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13164 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
dd05a94ffb
commit
0d046e26d5
@ -377,7 +377,7 @@ lookup_end_date_option(const gchar *section,
|
||||
choice = gnc_gconf_get_string(section, key_choice, NULL);
|
||||
if (choice && strcmp(choice, "absolute") == 0) {
|
||||
time = gnc_gconf_get_int(section, key_absolute, NULL);
|
||||
time += 3600*24 - 1; /* We want the _end_ of the day. */
|
||||
time = gnc_timet_get_day_end(time);
|
||||
} else {
|
||||
which = gnc_gconf_get_int(section, key_relative, NULL);
|
||||
time = gnc_accounting_period_end_timet(which, fy_end, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user