From b2c3ee9779d68e809aaf25a868ef3c63ef8bd831 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 15 Jun 2024 09:29:40 +0200 Subject: [PATCH] Fix https://github.com/firefly-iii/firefly-iii/issues/8954 --- app/Support/Http/Controllers/PeriodOverview.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Support/Http/Controllers/PeriodOverview.php b/app/Support/Http/Controllers/PeriodOverview.php index c35213211a..43002ec853 100644 --- a/app/Support/Http/Controllers/PeriodOverview.php +++ b/app/Support/Http/Controllers/PeriodOverview.php @@ -370,6 +370,7 @@ trait PeriodOverview $first = $this->journalRepos->firstNull(); $start = null === $first ? new Carbon() : $first->date; $end = clone $theDate; + $end = app('navigation')->endOfPeriod($end, $range); app('log')->debug(sprintf('Start for getNoCategoryPeriodOverview() is %s', $start->format('Y-m-d'))); app('log')->debug(sprintf('End for getNoCategoryPeriodOverview() is %s', $end->format('Y-m-d')));