changeset 3199 | fc63b80ec979 |
parent 3185 | bd0126d17e83 |
parent 3194 | 650637d4d764 |
child 3369 | 7b88d12b4ee2 |
--- a/web/views/editcontroller.py Mon Sep 14 08:34:11 2009 +0200 +++ b/web/views/editcontroller.py Mon Sep 14 11:25:56 2009 +0200 @@ -248,7 +248,7 @@ except ValueError: raise ValidationError(entity.eid, {attr: self.req._("invalid float value")}) - if attrtype in ('Date', 'Datetime', 'Time'): + elif attrtype in ('Date', 'Datetime', 'Time'): try: value = self.parse_datetime(value, attrtype) except ValueError: