lib/helpers.py
branchsites
changeset 29 b06ff4c05d42
parent 28 b68145b5ce24
child 42 5a72c00c4ae4
--- 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