Opened 13 years ago
Closed 13 years ago
#18353 closed Bug (fixed)
Inconsistency in date-based generic views
Reported by: | Aymeric Augustin | Owned by: | Aymeric Augustin |
---|---|---|---|
Component: | Generic views | Version: | 1.4 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
YearArchiveView behaves differently from MonthArchiveView, WeekArchiveView and DayArchiveView, making it harder to write generic code:
year
is "the given year, as a four-character string"; it should be adatetime.date
instead;next_year
andprevious_year
should be available too.
Change History (4)
comment:1 by , 13 years ago
Owner: | changed from | to
---|
comment:2 by , 13 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 13 years ago
Type: | Cleanup/optimization → Bug |
---|
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In [3b2993ed04f200a89c2d49590131c97c8974e9ac]: