mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
merge from trunk
This commit is contained in:
commit
40d302fb22
@ -483,7 +483,7 @@ class XMLCache(object):
|
|||||||
tz = time.localtime
|
tz = time.localtime
|
||||||
debug_print("Using localtime TZ for new book", book.lpath)
|
debug_print("Using localtime TZ for new book", book.lpath)
|
||||||
else:
|
else:
|
||||||
tz = self.time.gmtime
|
tz = time.gmtime
|
||||||
debug_print("Using GMT TZ for new book", book.lpath)
|
debug_print("Using GMT TZ for new book", book.lpath)
|
||||||
date = strftime(timestamp, zone=tz)
|
date = strftime(timestamp, zone=tz)
|
||||||
record.set('date', date)
|
record.set('date', date)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user