From 6efffe78c227d50c6fbbffc58922dcaf8e472c2c Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Fri, 1 May 2009 20:25:08 +0000 Subject: [PATCH] NarrativeWeb : gen.lib.date problem svn: r12502 --- src/plugins/webreport/NarrativeWeb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 1afd3d9ba..766b346a7 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -393,7 +393,7 @@ class BasePage: text = '' if copy_nr == 0: if self.author: - year = time.localtime()[0] + year = date.Today().get_year() text = '© %(year)d %(person)s' % { 'person' : self.author, 'year' : year}