NarrativeWeb : gen.lib.date problem

svn: r12502
This commit is contained in:
Serge Noiraud committed 2009-05-01 20:25:08 +00:00
1 parent 2fe74e2ca6
commit 6efffe78c2
1 file changed
+1 -1
+1 -1
View File
@@ -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}