NarrativeWeb : gen.lib.date problem
svn: r12502
This commit is contained in:
parent
2fe74e2ca6
commit
6efffe78c2
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user