fix ne storage

This commit is contained in:
Romulus21 committed 2026-03-06 12:07:18 +01:00
1 parent 0419d64fa1
commit 02f7efa745
2 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -121,7 +121,7 @@ class RainfallController extends Controller
$diff = now()->diffInMonths($firstOfLastYear);
$result = [];
for ($i = $diff; $i >= 0; $i--) {
for ($i = -$diff; $i >= 0; $i--) {
$date = now()->subMonths($i);
$month = $date->month;
$firstOfMonth = now()->subMonths($i)->firstOfMonth();