[Mpuls-commits] r3626 - in wasko/trunk: . waskoweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Sep 14 15:51:15 CEST 2010


Author: roland
Date: 2010-09-14 15:51:15 +0200 (Tue, 14 Sep 2010)
New Revision: 3626

Modified:
   wasko/trunk/ChangeLog
   wasko/trunk/waskoweb/controllers/formularpage.py
Log:
issue933: corrected maximum length of CM

Modified: wasko/trunk/ChangeLog
===================================================================
--- wasko/trunk/ChangeLog	2010-09-14 12:29:05 UTC (rev 3625)
+++ wasko/trunk/ChangeLog	2010-09-14 13:51:15 UTC (rev 3626)
@@ -1,5 +1,10 @@
 2010-09-13  Roland Geider  <roland.geider at intevation.de>
 
+	* waskoweb/controllers/formularpage.py: issue933: corrected maximum
+	  length of CM
+
+2010-09-13  Roland Geider  <roland.geider at intevation.de>
+
 	* waskoweb/public/formed/formedtree.xml: issue935: additional rules for
 	  after-care phase
 

Modified: wasko/trunk/waskoweb/controllers/formularpage.py
===================================================================
--- wasko/trunk/waskoweb/controllers/formularpage.py	2010-09-14 12:29:05 UTC (rev 3625)
+++ wasko/trunk/waskoweb/controllers/formularpage.py	2010-09-14 13:51:15 UTC (rev 3626)
@@ -181,7 +181,7 @@
             # Everything else, 12 months
             else:
                 end_date = date_cm_end
-                max_time_delta = datetime.timedelta(12*31)
+                max_time_delta = datetime.timedelta(365)
             
             if end_date - date_cm_start > max_time_delta:
                 appointment_factory = CaseAppointmentFactory()



More information about the Mpuls-commits mailing list