# HG changeset patch # User Sylvain Thénault # Date 1263464080 -3600 # Node ID da919ea9288003434d9ebc896081b4124b098fb0 # Parent 6109962761f266973eaf52e55558c57ba6324849 fix dumb name errors diff -r 6109962761f2 -r da919ea92880 web/formfields.py --- a/web/formfields.py Thu Jan 14 11:13:22 2010 +0100 +++ b/web/formfields.py Thu Jan 14 11:14:40 2010 +0100 @@ -672,7 +672,7 @@ # directly, so handle that case : if isinstance(date, basestring): try: - date = form.parse_datetime(wdgdate, 'Date') + date = form.parse_datetime(date, 'Date') except ValueError, ex: raise ProcessFormError(unicode(ex)) return date @@ -688,7 +688,7 @@ # directly, so handle that case : if isinstance(date, basestring): try: - date = form.parse_datetime(wdgdate, 'Datetime') + date = form.parse_datetime(date, 'Datetime') except ValueError, ex: raise ProcessFormError(unicode(ex)) return date @@ -705,7 +705,7 @@ # directly, so handle that case : if isinstance(time, basestring): try: - time = form.parse_datetime(wdgdate, 'Time') + time = form.parse_datetime(time, 'Time') except ValueError, ex: raise ProcessFormError(unicode(ex)) return time