From 59ddb063455aadb00f4d15db1e56abbd8bf94eef Mon Sep 17 00:00:00 2001 From: mdipierro Date: Fri, 20 Jul 2012 16:45:07 -0500 Subject: [PATCH] Copyright date now displays current year, always, thanks Brian Cottingham --- VERSION | 2 +- gluon/widget.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 4994cbd7..581a8a64 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-07-20 16:32:48) dev +Version 2.00.0 (2012-07-20 16:45:03) dev diff --git a/gluon/widget.py b/gluon/widget.py index f0f7278b..96ef1d6e 100644 --- a/gluon/widget.py +++ b/gluon/widget.py @@ -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