Copyright date now displays current year, always, thanks Brian Cottingham

This commit is contained in:
mdipierro
2012-07-20 16:45:07 -05:00
parent 1e0d4c6dfa
commit 59ddb06345
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.00.0 (2012-07-20 16:32:48) dev
Version 2.00.0 (2012-07-20 16:45:03) dev
+2 -1
View File
@@ -9,6 +9,7 @@ License: LGPLv3 (http://www.gnu.org/licenses/lgpl.html)
The widget is called from web2py.
"""
import datetime
import sys
import cStringIO
import time
@@ -41,7 +42,7 @@ except NameError:
BaseException = Exception
ProgramName = 'web2py Web Framework'
ProgramAuthor = 'Created by Massimo Di Pierro, Copyright 2007-2011'
ProgramAuthor = 'Created by Massimo Di Pierro, Copyright 2007-' + str(datetime.datetime.now().year)
ProgramVersion = read_file('VERSION').strip()
ProgramInfo = '''%s