diff --git a/gramps/src/Date.py b/gramps/src/Date.py index d03042245..4ce95a93a 100644 --- a/gramps/src/Date.py +++ b/gramps/src/Date.py @@ -812,16 +812,10 @@ class SingleDate: mon = string.lower(matches[2]) else: mon = string.lower(matches[2])[0:l] - if month_map.has_key(mon): - self.setYear(int(matches[3])) - self.setMonth(month_map[mon]+1) - self.setDay(int(matches[1])) - return - else: - self.setYear(int(matches[3])) - self.setMonth(UNDEF) - self.setDay(UNDEF) - return + self.setYear(int(matches[3])) + self.setMonthStr(mon) + self.setDay(int(matches[1])) + return match = SingleDate.fmt3.match(text) if match: matches = match.groups() @@ -840,7 +834,7 @@ class SingleDate: else: mon = string.lower(matches[1])[0:l] self.setYearVal(matches[2]) - self.setMonth(month_map[mon]+1) + self.setMonthStr(mon) self.day = UNDEF return diff --git a/gramps/src/const.py b/gramps/src/const.py index 012b21366..88c409014 100644 --- a/gramps/src/const.py +++ b/gramps/src/const.py @@ -92,7 +92,7 @@ startup = 1 # #------------------------------------------------------------------------- progName = "GRAMPS" -version = "0.7.3-snap20020414" +version = "0.7.3" copyright = "© 2001 Donald N. Allingham" authors = ["Donald N. Allingham", "David Hampton","Donald A. Peterson"] comments = _("GRAMPS (Genealogical Research and Analysis "