mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'patch-15' of https://github.com/Sophist-UK/calibre
This commit is contained in:
commit
c81c016b8f
@ -131,7 +131,7 @@ class PrivateEyeRecipe(BasicNewsRecipe):
|
|||||||
day = ''.join(c for c in day if c.isdigit())
|
day = ''.join(c for c in day if c.isdigit())
|
||||||
date = datetime.strptime(
|
date = datetime.strptime(
|
||||||
" ".join((day, month, year)), "%d %B %Y")
|
" ".join((day, month, year)), "%d %B %Y")
|
||||||
date = date - timedelta(12)
|
date = date - timedelta(11)
|
||||||
self.publication_date = datetime.strftime(
|
self.publication_date = datetime.strftime(
|
||||||
date, "%d %B %Y").lstrip("0")
|
date, "%d %B %Y").lstrip("0")
|
||||||
self.log.debug("Publication date: %s" % self.publication_date)
|
self.log.debug("Publication date: %s" % self.publication_date)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user