2004-09-13 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py (event_info): Prevent constructions like "died in before 1901" by playing safe if the mode is not exact. svn: r3536
This commit is contained in:
parent
0b77a1a3a5
commit
72008e1b8b
@ -1,3 +1,7 @@
|
||||
2004-09-13 Tim Waugh <twaugh@redhat.com>
|
||||
* src/plugins/Ancestors.py (event_info): Prevent constructions like
|
||||
"died in before 1901" by playing safe if the mode is not exact.
|
||||
|
||||
2004-09-11 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||
* src/ReadGedcom.py (parse_person_event): Use TYPE field as
|
||||
the description of the event, if the event already has a name.
|
||||
|
@ -34,6 +34,7 @@ import BaseDoc
|
||||
import RelLib
|
||||
import Errors
|
||||
import Plugins
|
||||
import Calendar
|
||||
from QuestionDialog import ErrorDialog
|
||||
from gettext import gettext as _
|
||||
|
||||
@ -441,7 +442,8 @@ class ComprehensiveAncestorsReport (Report.Report):
|
||||
if text:
|
||||
info += ' ' + text[0].lower() + text[1:]
|
||||
elif dateobj.get_valid ():
|
||||
if dateobj.is_range ():
|
||||
if (dateobj.isRange () or
|
||||
dateobj.get_start_date ().getModeVal () != Calendar.EXACT):
|
||||
info += ' ' + dateobj.get_date ()
|
||||
elif (dateobj.get_day_valid () and
|
||||
dateobj.get_month_valid () and
|
||||
|
Loading…
Reference in New Issue
Block a user