5422: Error on date entry

svn: r18563
This commit is contained in:
Michiel Nauta 2011-12-10 10:05:15 +00:00
parent ed24673c49
commit c6e4d539a6

View File

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