changeset 372:a805aaed97dd

Add current date to getan template context
author Björn Ricks <bjoern.ricks@intevation.de>
date Mon, 10 Mar 2014 09:23:08 +0100
parents 8b44243b799a
children 82a5dd050436
files getan/template.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/getan/template.py	Fri Mar 07 16:02:07 2014 +0100
+++ b/getan/template.py	Mon Mar 10 09:23:08 2014 +0100
@@ -122,4 +122,5 @@
     context["current_year"] = c_year
     context["unix_week"] = u_week
     context["total_time"] = total_time(projects)
+    context["today"] = date.today()
     return template.render(context)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)