From b2fce54f1fc12994c2f2130d06c8ae535a0b0ae3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hnyk?= Date: Fri, 17 Jun 2022 23:32:00 +0200 Subject: [PATCH] Document publication_date I think this should appear here: https://manual.calibre-ebook.com/news_recipe.html so documenting it. --- src/calibre/web/feeds/news.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/calibre/web/feeds/news.py b/src/calibre/web/feeds/news.py index 8bc76166f1..638d363848 100644 --- a/src/calibre/web/feeds/news.py +++ b/src/calibre/web/feeds/news.py @@ -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):