Index: django/views/generic/date_based.py
===================================================================
--- django/views/generic/date_based.py	(revision 9734)
+++ django/views/generic/date_based.py	(working copy)
@@ -237,7 +237,9 @@
     """
     if extra_context is None: extra_context = {}
     try:
-        date = datetime.date(*time.strptime(year+month+day, '%Y'+month_format+day_format)[:3])
+        date = datetime.date(time.strptime(year, '%Y')[0],
+                             time.strptime(month, month_format)[1],
+                             time.strptime(day, month_format)[2])
     except ValueError:
         raise Http404
 
@@ -307,7 +309,9 @@
     """
     if extra_context is None: extra_context = {}
     try:
-        date = datetime.date(*time.strptime(year+month+day, '%Y'+month_format+day_format)[:3])
+        date = datetime.date(time.strptime(year, '%Y')[0],
+                             time.strptime(month, month_format)[1],
+                             time.strptime(day, month_format)[2])
     except ValueError:
         raise Http404
 
