Removed code, that was committed by mistake.
svn: r12062
This commit is contained in:
parent
76dcb789a3
commit
8a5ac4f03c
@ -474,12 +474,6 @@ class DateParser:
|
|||||||
value = subparser(text)
|
value = subparser(text)
|
||||||
if value != Date.EMPTY:
|
if value != Date.EMPTY:
|
||||||
return value
|
return value
|
||||||
# if 8 digits are entered and month and day in range
|
|
||||||
# assume yyyymmdd and convert to yyyy-mm-dd
|
|
||||||
if len(text) == 8 and text.isdigit() \
|
|
||||||
and (int(text[4:6]) in range(1,13)) \
|
|
||||||
and (int(text[6:8]) in range(1,32)):
|
|
||||||
text = text[0:4] + "-" + text[4:6] + "-" + text[6:8]
|
|
||||||
match = self._iso.match(text)
|
match = self._iso.match(text)
|
||||||
if match:
|
if match:
|
||||||
groups = match.groups()
|
groups = match.groups()
|
||||||
|
Loading…
Reference in New Issue
Block a user