[Mpuls-commits] r918 - wasko/branches/2.0/waskaweb/lib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Jan 26 18:21:09 CET 2010


Author: torsten
Date: 2010-01-26 18:21:08 +0100 (Tue, 26 Jan 2010)
New Revision: 918

Modified:
   wasko/branches/2.0/waskaweb/lib/helpers.py
Log:
* waskaweb/lib/helpers.py (get_logouttime): Call localized format_time function to format logouttime


Modified: wasko/branches/2.0/waskaweb/lib/helpers.py
===================================================================
--- wasko/branches/2.0/waskaweb/lib/helpers.py	2010-01-26 17:18:24 UTC (rev 917)
+++ wasko/branches/2.0/waskaweb/lib/helpers.py	2010-01-26 17:21:08 UTC (rev 918)
@@ -168,7 +168,7 @@
     actually expires to make sure it's earlier.
     """
     timeout = int(config.get("beaker.session.timeout"))
-    return HH_MM(datetime.datetime.now()
+    return format_time(datetime.datetime.now()
                  + datetime.timedelta(seconds=timeout - 120))
 
 def timedelta_in_minutes(ti):



More information about the Mpuls-commits mailing list