fix recap
Deploy HouseHub / deploy (push) Successful in 2s

This commit is contained in:
FeFeClochette committed 2026-09-15 19:26:36 +02:00
1 parent c3eae9e1d4
commit 63e0cf0ec2
1 file changed
+1 -1
@@ -150,7 +150,7 @@ class DynamicBudgetCalculator {
]; ];
} }
$daysInMonth = cal_days_in_month(CAL_GREGORIAN, (int)$this->month, $this->year); $daysInMonth = (int)date('t', strtotime(sprintf("%04d-%02d-01", $this->year, $this->month)));
// 2. Itération SANS pointeurs de référence // 2. Itération SANS pointeurs de référence
for ($d = 1; $d <= $daysInMonth; $d++) { for ($d = 1; $d <= $daysInMonth; $d++) {