NarrativeWeb : gen.lib.date problem
svn: r12502
This commit is contained in:
parent
2fe74e2ca6
commit
6efffe78c2
@ -393,7 +393,7 @@ class BasePage:
|
|||||||
text = ''
|
text = ''
|
||||||
if copy_nr == 0:
|
if copy_nr == 0:
|
||||||
if self.author:
|
if self.author:
|
||||||
year = time.localtime()[0]
|
year = date.Today().get_year()
|
||||||
text = '© %(year)d %(person)s' % {
|
text = '© %(year)d %(person)s' % {
|
||||||
'person' : self.author,
|
'person' : self.author,
|
||||||
'year' : year}
|
'year' : year}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user