﻿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
7380	Generic week view inconsistent with django.utils.dateformat	dave.lowe@…	nobody	"The generic week view parses the date by passing the year and week to Python's strptime function. The time module, where strptime is from, and specifically the %W directive, operates on an understanding that week numbers range from 00 to 53 and ""All days in a new year preceding the first Monday are considered to be in week 0.""  [See http://docs.python.org/lib/module-time.html]. 

Django's DateFormat function in django.utils.dateformat operates differently. It uses the ISO calendar and the ""first week of an ISO year is the first (Gregorian) calendar week of a year containing a Thursday."" There actually is no week 0. Jan 1, 2010 (a Friday) is considered to be week 53 from the year before.

As a result, this makes dealing with week numbers in a template (and passing the correct number to a URL) extremely difficult. "		closed	Generic views	dev		wontfix			Accepted	0	0	0	0	0	0
