﻿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
30990	Documentation error for `z` date format	Baptiste Mispelon	nobody	"The documentation for the `z` [https://docs.djangoproject.com/en/dev/ref/templates/builtins/#date date format] states that its output ranges from ""0 to 365"".

This is actually incorrect and the range is 1-366 (January 1st is 1 and December 31st is 365 or 366 depending on whether it's a leap year or not).

While digging there, I also noticed that the implementations of the `z` and `W` formats seemed to just reimplement code that it already in Python's standard library so I added some commits to the pull request to simplify that a bit."	Bug	closed	Documentation	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	0
