mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 01:14:36 +02:00
Correct publication date which is one day out.
This commit is contained in:
parent
d511b7c12b
commit
95a55af717
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ def parse_index(self):
|
|||
day = ''.join(c for c in day if c.isdigit())
|
||||
date = datetime.strptime(
|
||||
" ".join((day, month, year)), "%d %B %Y")
|
||||
date = date - timedelta(12)
|
||||
date = date - timedelta(11)
|
||||
self.publication_date = datetime.strftime(
|
||||
date, "%d %B %Y").lstrip("0")
|
||||
self.log.debug("Publication date: %s" % self.publication_date)
|
||||
|
|
|
|||
Loading…
Reference in a new issue