Symptom
When filtering expenses by a date range, expenses on the end date are excluded. For example, filtering from Jan 1 to Jan 3 only returns expenses from Jan 1 and Jan 2 -- expenses on Jan 3 are missing.
What you know
The filter_by_date_range() function takes a list of expenses, a start date, and an end date. Both the start and end dates should be inclusive. The function's docstring says "inclusive on both ends."
Hints
Python
Python ready
Test Output
▶
Click "Run Tests" to execute your code