mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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.
This commit is contained in:
parent
82f1384c58
commit
766e74096f
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user