Document publication_date

I think this should appear here: https://manual.calibre-ebook.com/news_recipe.html
so documenting it.
This commit is contained in:
Tomáš Hnyk 2022-06-17 23:32:00 +02:00 committed by GitHub
parent 19e50d4fed
commit b2fce54f1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1455,6 +1455,10 @@ class BasicNewsRecipe(Recipe):
prepare_masthead_image(path_to_image, out_path, self.MI_WIDTH, self.MI_HEIGHT)
def publication_date(self):
'''
Use this method to set the date when this issue was published.
Defaults to the moment of download.
'''
return nowf()
def create_opf(self, feeds, dir=None):