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

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


Author: torsten
Date: 2010-01-26 18:18:24 +0100 (Tue, 26 Jan 2010)
New Revision: 917

Modified:
   wasko/branches/2.0/waskaweb/lib/helpers.py
Log:
* waskaweb/lib/helpers.py (status_message): Call localized format_datetime
function to format date of status message


Modified: wasko/branches/2.0/waskaweb/lib/helpers.py
===================================================================
--- wasko/branches/2.0/waskaweb/lib/helpers.py	2010-01-26 17:14:44 UTC (rev 916)
+++ wasko/branches/2.0/waskaweb/lib/helpers.py	2010-01-26 17:18:24 UTC (rev 917)
@@ -160,7 +160,7 @@
     return dd_mm_YYYY(d) + " " + HH_MM(d)
 
 def status_message(s):
-    return "%s: %s" % (dd_mm_yyyy_HH_MM(datetime.datetime.now()), s)
+    return "%s: %s" % (format_datetime(datetime.datetime.now()), s)
 
 def get_logouttime():
     """Estimate log-out time and return it as a formatted string (HH:MM).



More information about the Mpuls-commits mailing list