Copyright date now displays current year, always, thanks Brian Cottingham
This commit is contained in:
@@ -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
@@ -9,6 +9,7 @@ License: LGPLv3 (http://www.gnu.org/licenses/lgpl.html)
|
|||||||
The widget is called from web2py.
|
The widget is called from web2py.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
import datetime
|
||||||
import sys
|
import sys
|
||||||
import cStringIO
|
import cStringIO
|
||||||
import time
|
import time
|
||||||
@@ -41,7 +42,7 @@ except NameError:
|
|||||||
BaseException = Exception
|
BaseException = Exception
|
||||||
|
|
||||||
ProgramName = 'web2py Web Framework'
|
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()
|
ProgramVersion = read_file('VERSION').strip()
|
||||||
|
|
||||||
ProgramInfo = '''%s
|
ProgramInfo = '''%s
|
||||||
|
|||||||
Reference in New Issue
Block a user