Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Stops date from skipping ahead slowly.
James Colef3f4e6b3549b
diff --git a/app/Generator/Chart/Account/ChartJsAccountChartGenerator.php b/app/Generator/Chart/Account/ChartJsAccountChartGenerator.phpindex 81097dd552..dafa9c5b25 100644--- a/app/Generator/Chart/Account/ChartJsAccountChartGenerator.php+++ b/app/Generator/Chart/Account/ChartJsAccountChartGenerator.php@@ -113,7 +113,7 @@ class ChartJsAccountChartGenerator implements AccountChartGenerator'data' => [],];$current = clone $start;- $range = Steam::balanceInRange($account, $start, $end);+ $range = Steam::balanceInRange($account, $start, clone $end);$previous = array_values($range)[0];while ($current <= $end) {$format = $current->format('Y-m-d');