NarrativeWeb : gen.lib.date problem
svn: r12502
This commit is contained in:
1 parent
2fe74e2ca6
commit
6efffe78c2
1 file changed
+1
-1
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user