5422: Error on date entry

svn: r18562
This commit is contained in:
Michiel Nauta 2011-12-10 10:04:35 +00:00
parent 0c346aa16c
commit bd3dc0e82c

View File

@ -518,7 +518,7 @@ class DateParser(object):
d = self._get_int(groups[2])
value = (d, m, y, False)
if not check((d, m, y)):
value = Date.Empty
value = Date.EMPTY
return value
match = self._rfc.match(text)