* various: remove set_date/get_date removal to be replaced by
DateHandler calls svn: r5031
This commit is contained in:
@@ -38,7 +38,7 @@ import Report
|
||||
import BaseDoc
|
||||
import RelLib
|
||||
import ReportOptions
|
||||
from DateHandler import displayer as dd
|
||||
import DateHandler
|
||||
import const
|
||||
import ReportUtils
|
||||
|
||||
@@ -152,8 +152,9 @@ class FtmAncestorReport(Report.Report):
|
||||
self.doc.start_paragraph('FTA-Endnotes',"%d." % key)
|
||||
self.doc.write_text(base.get_title())
|
||||
|
||||
for item in [ base.get_author(), base.get_publication_info(), base.get_abbreviation(),
|
||||
dd.display(srcref.get_date_object()),]:
|
||||
for item in [ base.get_author(), base.get_publication_info(),
|
||||
base.get_abbreviation(),
|
||||
DateHandler.get_date(srcref),]:
|
||||
if item:
|
||||
self.doc.write_text('; %s' % item)
|
||||
|
||||
@@ -233,7 +234,7 @@ class FtmAncestorReport(Report.Report):
|
||||
|
||||
for event_handle in person.get_event_list():
|
||||
event = self.database.get_event_from_handle(event_handle)
|
||||
date = event.get_date()
|
||||
date = DateHandler.get_date(event)
|
||||
place_handle = event.get_place_handle()
|
||||
if place_handle:
|
||||
place = self.database.get_place_from_handle(place_handle).get_title()
|
||||
@@ -294,7 +295,7 @@ class FtmAncestorReport(Report.Report):
|
||||
else:
|
||||
return
|
||||
|
||||
date = event.get_date()
|
||||
date = DateHandler.get_date(event)
|
||||
place_handle = event.get_place_handle()
|
||||
if place_handle:
|
||||
place = self.database.get_place_from_handle(place_handle).get_title()
|
||||
|
Reference in New Issue
Block a user