Ticket #1062: typecast.diff
File typecast.diff, 539 bytes (added by , 19 years ago) |
---|
-
django/core/db/typecasts.py
20 20 # "2005-07-29 15:48:00.590358-05" 21 21 # "2005-07-29 09:56:00-05" 22 22 if not s: return None 23 if not ' ' in s: return typecast_date(s) # fix SQLite bug (#1062) 23 24 d, t = s.split() 24 25 # Extract timezone information, if it exists. Currently we just throw 25 26 # it away, but in the future we may make use of it.