mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Use proper date in recipes
As discussed here: #1642 (comment), this makes the title in a recipe use the date when a given publication was issued (if set by a recipe) instead of current time.
This commit is contained in:
parent
19e50d4fed
commit
dc06bf67ed
@ -1462,7 +1462,7 @@ class BasicNewsRecipe(Recipe):
|
||||
dir = self.output_dir
|
||||
title = self.short_title()
|
||||
if self.output_profile.periodical_date_in_title:
|
||||
title += strftime(self.timefmt)
|
||||
title += strftime(self.timefmt,self.publication_date())
|
||||
mi = MetaInformation(title, [__appname__])
|
||||
mi.publisher = __appname__
|
||||
mi.author_sort = __appname__
|
||||
|
Loading…
x
Reference in New Issue
Block a user