Fix time correction problems caused by using UTC.

This commit is contained in:
Charles Haley 2011-11-13 18:38:09 +01:00
parent c4d5cc6e5d
commit a44494a47c

View File

@ -293,7 +293,7 @@ def clean_date_for_sort(dt, format):
if hasattr(dt, 'tzinfo'):
if dt.tzinfo is not None:
dt = as_utc(dt)
dt = as_local_time(dt)
if format == 'iso':
format = 'yyMdhms'