﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
16218	Class-based month archive doesn't behave like previous generic view	Ernesto Rico-Schmidt	Aymeric Augustin	"While converting some of the regression tests for generic views to class-based views, I've noticed that the class-based month archive doesn't behave like the previous generic views.

Applying the attached patch breaks the tests:

{{{
FAIL: test_archive_month_date_list (regressiontests.views.tests.generic.date_based.MonthArchiveTest)
...
AssertionError: datetime.datetime(2010, 1, 2, 0, 0) != datetime.datetime(2010, 1, 1, 0, 0)

FAIL: test_archive_month_includes_only_month (regressiontests.views.tests.generic.date_based.MonthArchiveTest)
Regression for #3031: Archives around Feburary include only one month
...
AssertionError: None != datetime.date(2004, 3, 1)
}}}"	Bug	closed	Generic views	dev	Normal	fixed			Accepted	1	0	0	0	0	0
