Legend:

`list_filter` on a DateTimeField is mostly useful if applied to a field that stores a creation or modification date.

1

`list_filter` on a `DateTimeField` is mostly useful if applied to a field that stores a creation or modification date.

2

2

3

It's Monday, 8am. Do you expect to see the updates of last Monday? Probably yes.

3

It's Monday, 8am. Do you expect to see the updates of last Monday? Probably yes. The filter actually does "Past seven days (complete) + current day (partial)", which was shortened to "Past 7 days" for readability.

4

4

5

In this case, the current code shows 7,33 days worth of data in this case (assuming you have no dates in the future). Your "easy fix" would show 6,33 days instead. I'm not convinced this would be significantly more correct.

5

In the example above, the current code shows 7,33 days worth of data (assuming you have no data in the future). Your "easy fix" would show 6,33 days instead. I'm not convinced this would be significantly more correct.

6

6

7

7

We'd need a good reason, good enough to warrant breaking backwards compatibility, to change this.