mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-27 04:43:12 +02:00
Fix time correction problems caused by using UTC.
This commit is contained in:
parent
c4d5cc6e5d
commit
a44494a47c
1 changed files with 1 additions and 1 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in a new issue