Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix end of quarter issue.
James Colee0542f1270c5
diff --git a/app/Support/Navigation.php b/app/Support/Navigation.phpindex 88b53c03e7..fad31a7f0e 100644--- a/app/Support/Navigation.php+++ b/app/Support/Navigation.php@@ -302,17 +302,17 @@ class Navigationif ($currentEnd->lt($end)) {switch ($repeatFreq) {case 'QTD':- $currentEnd->endOfQuarter()->setMilli(0);+ $currentEnd = $end->clone()->endOfQuarter()->setMilli(0);break;case 'MTD':- $currentEnd->endOfMonth()->setMilli(0);+ $currentEnd = $end->clone()->endOfMonth()->setMilli(0);break;case 'YTD':- $currentEnd->endOfYear()->setMilli(0);+ $currentEnd = $end->clone()->endOfYear()->setMilli(0);break;}