﻿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
15052	Incorrect docstring in DayMixin	rasca	rasca	"The `get_day_format()` docstring reads 

{{{
        Get a month format string in strptime syntax to be used to parse the
        month from url variables.
}}}

when it should say *day* instead of *month*

patch:

{{{
diff --git a/django/views/generic/dates.py b/django/views/generic/dates.py
index 8c95249..c9e486b 100644
--- a/django/views/generic/dates.py
+++ b/django/views/generic/dates.py
@@ -80,8 +80,8 @@ class DayMixin(object):
 
     def get_day_format(self):
         """"""
-        Get a month format string in strptime syntax to be used to parse the
-        month from url variables.
+        Get a day format string in strptime syntax to be used to parse the day
+        from url variables.
         """"""
         return self.day_format
}}}

"		closed	Documentation	dev		fixed			Ready for checkin	1	0	0	0	0	0
