web/formfields.py
changeset 4544 d92aa3221c30
parent 4528 a51f37efc882
child 4546 f8ac61376b2b
--- a/web/formfields.py	Wed Feb 10 10:57:28 2010 +0100
+++ b/web/formfields.py	Wed Feb 10 12:00:37 2010 +0100
@@ -675,7 +675,7 @@
 
     def format_single_value(self, req, value):
         if value:
-            return ustrftime(value.strip(), req.property_value(self.format_prop))
+            return ustrftime(value, req.property_value(self.format_prop))
         return u''
 
     def render_example(self, req):