[Getan-commits] [PATCH] Use week in wochenbericht template

Wald Commits scm-commit at wald.intevation.org
Mon Mar 10 10:00:00 CET 2014


# HG changeset patch
# User Björn Ricks <bjoern.ricks at intevation.de>
# Date 1394441996 -3600
# Node ID 87cb6c55de1c5836ab6f21b86f29303a7c1bbd1e
# Parent  82a5dd0504362110c008ff0f0a6534d15bd458fb
Use week in wochenbericht template

unix_week is mostly for calucation with in the database. week should be used
instead to display the current workweek number.

diff -r 82a5dd050436 -r 87cb6c55de1c getan/templates/wochenbericht
--- a/getan/templates/wochenbericht	Mon Mar 10 09:39:07 2014 +0100
+++ b/getan/templates/wochenbericht	Mon Mar 10 09:59:56 2014 +0100
@@ -1,4 +1,4 @@
-{{ user }}, (KW {{ unix_week }}, {{ year }})
+{{ user }}, (KW {{ week }}, {{ year }})
 {% for i in user -%}
 =
 {%- endfor -%}


More information about the Getan-commits mailing list