diff --git a/gramps/gen/datehandler/_dateparser.py b/gramps/gen/datehandler/_dateparser.py index ebe8a833f..a9bd5971e 100644 --- a/gramps/gen/datehandler/_dateparser.py +++ b/gramps/gen/datehandler/_dateparser.py @@ -627,8 +627,12 @@ class DateParser(object): else: y = self._get_int(groups[4]) if self.dmy: - m = self._get_int(groups[3]) - d = self._get_int(groups[1]) + if groups[3] is None: + m = self._get_int(groups[1]) + d = 0 + else: + m = self._get_int(groups[3]) + d = self._get_int(groups[1]) else: m = self._get_int(groups[1]) d = self._get_int(groups[3])