diff --git a/colander/__init__.py b/colander/__init__.py index fde8ab9..e128e86 100644 --- a/colander/__init__.py +++ b/colander/__init__.py @@ -670,7 +670,7 @@ class Date(object): result = result.date() except (iso8601.ParseError, TypeError): try: - year, month, day = map(int, value.split('-', 3)) + year, month, day = map(int, value.split('-', 2)) result = datetime.date(year, month, day) except Exception, e: raise Invalid(node,