lib/helpers.py
changeset 26 9d3beac1b196
child 28 b68145b5ce24
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lib/helpers.py	Sat Feb 07 04:57:22 2009 +0200
@@ -0,0 +1,15 @@
+"""
+    Helper functions for use in templates
+"""
+
+import time
+
+import config
+
+def now () :
+    """
+        Returns the current date/time
+    """
+
+    return time.strftime(config.DATETIME_FMT)
+