Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #137 -- thanks nesh@studioquattro.co.yu

git-svn-id: http://code.djangoproject.com/svn/django/trunk@268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 6b514f1aab919fe847095f0f02c33b08d2023a0b 1 parent e1d21e5
Jacob Kaplan-Moss authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/views/generic/date_based.py
2  django/views/generic/date_based.py
@@ -188,7 +188,7 @@ def object_detail(request, year, month, day, app_label, module_name, date_field,
188 188
             the object to be detailed
189 189
     """
190 190
     try:
191  
-        date = datetime.date(*time.strptime(year+month+day, '%Y%b%d')[:3])
  191
+        date = datetime.datetime(*time.strptime(year+month+day, '%Y%b%d')[:3])
192 192
     except ValueError:
193 193
         raise Http404
194 194
     mod = get_module(app_label, module_name)

0 notes on commit 6b514f1

Please sign in to comment.
Something went wrong with that request. Please try again.