gnucash maint: Multiple changes pushed
John Ralls
jralls at code.gnucash.org
Tue Jan 9 13:16:32 EST 2018
Updated via https://github.com/Gnucash/gnucash/commit/4f3879df (commit)
via https://github.com/Gnucash/gnucash/commit/766e7409 (commit)
from https://github.com/Gnucash/gnucash/commit/34200a7e (commit)
commit 4f3879df86200abb78b552483052914d240690c2
Merge: 34200a7 766e740
Author: John Ralls <jralls at ceridwen.us>
Date: Tue Jan 9 10:04:50 2018 -0800
Merge branch 'maint-bugfix-report-collectors' of https://github.com/christopherlam/gnucash into maint
commit 766e74096ff6ca61680bee1e7f9d54fb487a91e3
Author: christopherlam <christopher.lck at gmail.com>
Date: Thu Dec 28 19:21:28 2017 +1100
bugfix incorrect min-date handling
This bugfix affects net-linechart and net-barchart - assumes the min-date for dates must be 0. Net worth charts straddling the date 01-01-1970 were incorrect. I'll fix in time64-ftw as well.
diff --git a/src/report/report-system/report-collectors.scm b/src/report/report-system/report-collectors.scm
index ad3ae53..b4415e5 100644
--- a/src/report/report-system/report-collectors.scm
+++ b/src/report/report-system/report-collectors.scm
@@ -155,7 +155,7 @@
(list min-date max-date datepairs)))
(define (category-report-dates-accumulate dates)
- (let* ((min-date (gnc:secs->timepair 0))
+ (let* ((min-date (decdate (car (list-min-max dates gnc:timepair-lt)) DayDelta))
(max-date (cdr (list-min-max dates gnc:timepair-lt)))
(datepairs (reverse! (cdr (fold (lambda (next acc)
(let ((prev (car acc))
Summary of changes:
src/report/report-system/report-collectors.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list