From bd3dc0e82c647083a61b1674cc36852fd2742579 Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Sat, 10 Dec 2011 10:04:35 +0000 Subject: [PATCH] 5422: Error on date entry svn: r18562 --- src/DateHandler/_DateParser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DateHandler/_DateParser.py b/src/DateHandler/_DateParser.py index 914d9991b..67f71d9aa 100644 --- a/src/DateHandler/_DateParser.py +++ b/src/DateHandler/_DateParser.py @@ -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)