Inconsistency in date-based generic views
|Reported by:||aaugustin||Owned by:||aaugustin|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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 a datetime.date instead;
- next_year and previous_year should be available too.