mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-16 18:25:11 -06:00
Add a call to gnc_tm_set_day_end to correct initial ending balance in reconcile windows. Tiny comment typo in qof/gnc-date.h.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13641 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
2edfa44813
commit
3e41f8d965
@ -1,3 +1,8 @@
|
||||
2006-03-15 Andreas Köhler <andi5.py@gmx.net>
|
||||
|
||||
* src/gnome/window-reconcile.c: Add a call to gnc_tm_set_day_end
|
||||
to correct initial ending balance in reconcile windows.
|
||||
|
||||
2006-03-15 Derek Atkins <derek@ihtfp.com>
|
||||
|
||||
* lib/libqof/backend/file/qsf-backend.c: add <locale.h>
|
||||
|
@ -463,7 +463,7 @@ void gnc_tm_set_day_start (struct tm *tm)
|
||||
tm->tm_isdst = -1;
|
||||
}
|
||||
|
||||
/** The gnc_tm_set_day_start() inline routine will set the appropriate
|
||||
/** The gnc_tm_set_day_middle() inline routine will set the appropriate
|
||||
* fields in the struct tm to indicate noon of that day. This
|
||||
* routine assumes that the contents of the data structure is already
|
||||
* in normalized form.*/
|
||||
@ -477,7 +477,7 @@ void gnc_tm_set_day_middle (struct tm *tm)
|
||||
tm->tm_isdst = -1;
|
||||
}
|
||||
|
||||
/** The gnc_tm_set_day_start() inline routine will set the appropriate
|
||||
/** The gnc_tm_set_day_end() inline routine will set the appropriate
|
||||
* fields in the struct tm to indicate the last second of that day.
|
||||
* This routine assumes that the contents of the data structure is
|
||||
* already in normalized form.*/
|
||||
|
@ -1225,6 +1225,7 @@ gnc_get_reconcile_info (Account *account,
|
||||
tm.tm_mday += days;
|
||||
}
|
||||
tm.tm_isdst = -1;
|
||||
gnc_tm_set_day_end (&tm);
|
||||
*statement_date = mktime (&tm);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user