[Mpuls-commits] r990 - wasko/branches/2.0/waskaweb/templates/casemanagement

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jan 28 17:26:33 CET 2010


Author: bh
Date: 2010-01-28 17:26:33 +0100 (Thu, 28 Jan 2010)
New Revision: 990

Modified:
   wasko/branches/2.0/waskaweb/templates/casemanagement/caselist.mako
Log:
* waskaweb/templates/casemanagement/caselist.mako: Use
h.format_date to format the access time, instead of passing an
explicit format string to case.state.getAccessTime()


Modified: wasko/branches/2.0/waskaweb/templates/casemanagement/caselist.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/casemanagement/caselist.mako	2010-01-28 16:24:02 UTC (rev 989)
+++ wasko/branches/2.0/waskaweb/templates/casemanagement/caselist.mako	2010-01-28 16:26:33 UTC (rev 990)
@@ -32,7 +32,7 @@
                               case.getEditor().first_name[0])),
 
     (_('cm_overview_tbl_header_accesstime'), "zugriff", "table_name", ["cm"],
-     lambda case: case.state.getAccessTime('%d.%m.%Y')),
+     lambda case: h.format_date(case.state.getAccessTime())),
   ]
 %>
 



More information about the Mpuls-commits mailing list