split introduced in the wrong place
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 10 Feb 2010 12:00:37 +0100
changeset 4544 d92aa3221c30
parent 4543 45248fea4e35
child 4545 9b7b3303c515
split introduced in the wrong place
web/formfields.py
--- 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):