Changes between Initial Version and Version 1 of Ticket #17829, comment 1
- Timestamp:
- Mar 5, 2012, 1:44:32 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17829, comment 1
initial v1 1 `list_filter` on a DateTimeFieldis 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 th is case, the current code shows 7,33 days worth of data in this case (assuming you have no datesin 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.