Django

Code

Changeset 1971

Show
Ignore:
Timestamp:
01/14/06 23:54:47 (3 years ago)
Author:
adrian
Message:

Fixed #1062 -- Fixed database typecasting bug for DateTimeFields? in SQLite. Thanks, Nesh and cmaloney

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/core/db/typecasts.py

    r487 r1971  
    2121    # "2005-07-29 09:56:00-05" 
    2222    if not s: return None 
     23    if not ' ' in s: return typecast_date(s) 
    2324    d, t = s.split() 
    2425    # Extract timezone information, if it exists. Currently we just throw