Skip to content

Firefly III: a personal finances manager

Fix range as reported by @dakennguyen

James Coleaae855ed1632
diff --git a/app/Http/Controllers/Chart/ReportController.php b/app/Http/Controllers/Chart/ReportController.php
index 51c25230f6..fde649d4a9 100644
--- a/app/Http/Controllers/Chart/ReportController.php
+++ b/app/Http/Controllers/Chart/ReportController.php
@@ -246,10 +246,6 @@ class ReportController extends Controller
if ('1Y' === $preferredRange) {
$currentEnd = Navigation::endOfPeriod($currentEnd, $preferredRange);
}
- // 2026-03-01 similar fix for monthly ranges.
- if ('1M' === $preferredRange) {
- // $currentEnd = Navigation::endOfPeriod($currentEnd, $preferredRange);
- }
Log::debug(sprintf('Start of sub-loop, current end is %s', $currentEnd->toW3cString()));
while ($currentStart <= $currentEnd) {
Log::debug(sprintf('Current start: %s', $currentStart->toW3cString()));