branch | stable |
changeset 3194 | 650637d4d764 |
parent 3164 | b025592ff478 |
child 3199 | fc63b80ec979 |
child 3309 | 2538daa6651c |
--- a/web/views/editcontroller.py Fri Sep 11 19:51:09 2009 +0200 +++ b/web/views/editcontroller.py Fri Sep 11 20:37:30 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: