* src/Sources.py: Use get_date_object (not get_date) for source refs.

* src/ReadXML.py: Use get_date_object for source refs.
* src/WriteXML.py: Use get_date_object for source refs.
* src/WriteGedcom.py: Use get_date_object for sourcerefs.
* src/plugins/FtmStyleAncestors.py: Use get_date_object for sourcerefs.
* src/plugins/FtmStyleDescendants.py: Use get_date_object for sourcerefs.
* src/plugins/NavWebPage.py: Use get_date_object for sourcerefs.
* src/plugins/WebPage.py: Use get_date_object for sourcerefs.
* src/RelLib.py (DateBase): Add base class for keeping Date;
(MediaBase): Do not inherit from BaseObject; (Event,MediaObject,LdsOrd,
Address,Name,SourceRef): Inherit all date-related methods from DateBase.


svn: r4222
This commit is contained in:
Alex Roitman
2005-03-22 23:59:51 +00:00
parent d78cd57231
commit 1703b9669c
10 changed files with 128 additions and 297 deletions

View File

@@ -549,7 +549,7 @@ class IndividualPage(BasePage):
author = source.get_author()
title = source.get_title()
publisher = source.get_publication_info()
date = _dd.display(sref.get_date())
date = _dd.display(sref.get_date_object())
of.write('<tr><td class="field">%d. ' % index)
values = []
if author: