diff --git a/ChangeLog b/ChangeLog index 615206d83..f3b179ca6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2004-10-26 Don Allingham + * src/plugins/DescendReport.py: fix get_valid_year + 2004-10-25 Don Allingham * src/StartupDialog.py: handle delete event * src/docgen/HtmlDoc.py: fix typo diff --git a/src/plugins/DescendReport.py b/src/plugins/DescendReport.py index ac29db77a..9b9a5e1d0 100644 --- a/src/plugins/DescendReport.py +++ b/src/plugins/DescendReport.py @@ -79,14 +79,14 @@ class DescendantReport: def dump_dates(self, person): birth_handle = person.get_birth_handle() if birth_handle: - birth = self.database.get_event_from_handle(birth_handle).get_date_object().get_start_date() + birth = self.database.get_event_from_handle(birth_handle).get_date_object() birth_year_valid = birth.get_year_valid() else: birth_year_valid = 0 death_handle = person.get_death_handle() if death_handle: - death = self.database.get_event_from_handle(death_handle).get_date_object().get_start_date() + death = self.database.get_event_from_handle(death_handle).get_date_object() death_year_valid = death.get_year_valid() else: death_year_valid = 0