8477: date format month/year is not well reported at editing time
This commit is contained in:
parent
8c7aa07992
commit
83c689dd87
@ -627,8 +627,12 @@ class DateParser(object):
|
|||||||
else:
|
else:
|
||||||
y = self._get_int(groups[4])
|
y = self._get_int(groups[4])
|
||||||
if self.dmy:
|
if self.dmy:
|
||||||
m = self._get_int(groups[3])
|
if groups[3] is None:
|
||||||
d = self._get_int(groups[1])
|
m = self._get_int(groups[1])
|
||||||
|
d = 0
|
||||||
|
else:
|
||||||
|
m = self._get_int(groups[3])
|
||||||
|
d = self._get_int(groups[1])
|
||||||
else:
|
else:
|
||||||
m = self._get_int(groups[1])
|
m = self._get_int(groups[1])
|
||||||
d = self._get_int(groups[3])
|
d = self._get_int(groups[3])
|
||||||
|
Loading…
Reference in New Issue
Block a user