From bdd08bc679645ada82a6cdf79132ecaff85cd6da Mon Sep 17 00:00:00 2001 From: Vassilii Khachaturov Date: Mon, 9 Sep 2013 19:31:00 +0000 Subject: [PATCH] 7034: probably_alive() failing when no birth-death docstring update svn: r23067 --- gramps/gen/lib/date.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps/gen/lib/date.py b/gramps/gen/lib/date.py index 647f01e87..707c05149 100644 --- a/gramps/gen/lib/date.py +++ b/gramps/gen/lib/date.py @@ -1283,6 +1283,7 @@ class Date(object): def set_yr_mon_day(self, year, month, day, _update2 = True): """ Set the year, month, and day values. + For a compound date, collapses the range/span to the given date. """ self.__set_yr_mon_day(year, month, day, Date._POS_YR, Date._POS_MON, Date._POS_DAY) @@ -1305,7 +1306,7 @@ class Date(object): def set_yr_mon_day_offset(self, year=0, month=0, day=0): """ - Set the year, month, and day values by offset. + Offset the date by the given year, month, and day values. """ dv = list(self.dateval) if dv[Date._POS_YR]: