Clamp bills due on day 29-31 in short months (calendar drops them) #17
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: high
Category: bug
Location:
bills.py:62-64Problem
bills_for_monthrequiresdue_day <= num_days, so a bill due on the 31st is invisible in February and missing from totals — yet reminders.py clamps with min() and DOES fire. Inconsistent + understated budget.Suggested fix
Match reminders.py:
actual_day = min(due_day, num_days)and always include the bill.Filed by automated code review.