diff -r b68145b5ce24 -r b06ff4c05d42 lib/helpers.py --- a/lib/helpers.py Sat Feb 07 05:12:57 2009 +0200 +++ b/lib/helpers.py Sat Feb 07 06:05:10 2009 +0200 @@ -13,6 +13,13 @@ return time.strftime(config.DATETIME_FMT) +def copyright_year () : + """ + Returns the current year + """ + + return time.strftime("%Y") + def breadcrumb (trail, links=True) : """ Returns a nicely formatted breadcrumb tail, optinally with links