Removed code, that was committed by mistake.
svn: r12061
This commit is contained in:
parent
d5781b27a7
commit
9bb68012d5
@ -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…
x
Reference in New Issue
Block a user