* src/DataViews/_RelationView.py (info_string): Use DateHandler instead of the date object to display the date
* src/DataViews/_PedigreeView.py (format person: Use DateHandler instead of the date object to display the date (closes #565) svn: r7598
This commit is contained in:
parent
3d8852ba25
commit
bad12c819d
@ -3,6 +3,10 @@
|
||||
and taskbar happy
|
||||
* src/plugins/Check.py: Add check for PersonRef referencing non
|
||||
existant person
|
||||
* src/DataViews/_RelationView.py (info_string): Use DateHandler
|
||||
instead of the date object to display the date
|
||||
* src/DataViews/_PedigreeView.py (format person: Use DateHandler
|
||||
instead of the date object to display the date (closes #565)
|
||||
|
||||
2006-11-08 Alex Roitman <shura@gramps-project.org>
|
||||
* src/plugins/SimpleBookTitle.py: Fix the object selection.
|
||||
|
@ -418,19 +418,19 @@ class FormattingHelper:
|
||||
break
|
||||
|
||||
if birth and birth_fallback and use_markup:
|
||||
bdate = "<i>%s</i>" % birth.get_date_object()
|
||||
bdate = "<i>%s</i>" % DateHandler.get_date(birth)
|
||||
bplace = "<i>%s</i>" % self.get_place_name(birth.get_place_handle())
|
||||
elif birth:
|
||||
bdate = birth.get_date_object()
|
||||
bdate = DateHandler.get_date(birth)
|
||||
bplace = self.get_place_name(birth.get_place_handle())
|
||||
else:
|
||||
bdate = ""
|
||||
bplace = ""
|
||||
if death and death_fallback and use_markup:
|
||||
ddate = "<i>%s</i>" % death.get_date_object()
|
||||
ddate = "<i>%s</i>" % DateHandler.get_date(death)
|
||||
dplace = "<i>%s</i>" % self.get_place_name(death.get_place_handle())
|
||||
elif death:
|
||||
ddate = death.get_date_object()
|
||||
ddate = DateHandler.get_date(death)
|
||||
dplace = self.get_place_name(death.get_place_handle())
|
||||
else:
|
||||
ddate = ""
|
||||
|
@ -811,15 +811,15 @@ class RelationshipView(PageView.PersonNavView):
|
||||
break
|
||||
|
||||
if birth and birth_fallback:
|
||||
bdate = "<i>%s</i>" % birth.get_date_object()
|
||||
bdate = "<i>%s</i>" % DateHandler.get_date(birth)
|
||||
elif birth:
|
||||
bdate = birth.get_date_object()
|
||||
bdate = DateHandler.get_date(birth)
|
||||
else:
|
||||
bdate = ""
|
||||
if death and death_fallback:
|
||||
ddate = "<i>%s</i>" % death.get_date_object()
|
||||
ddate = "<i>%s</i>" % DateHandler.get_date(death)
|
||||
elif death:
|
||||
ddate = death.get_date_object()
|
||||
ddate = DateHandler.get_date(death)
|
||||
else:
|
||||
ddate = ""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user