2006-07-18 Don Allingham <don@gramps-project.org>
* src/RelLib/_DateBase.py: fix the date comparison for text only dates svn: r7038
This commit is contained in:
parent
9200e01c56
commit
e2fa5c3021
@ -1,3 +1,7 @@
|
|||||||
|
2006-07-18 Don Allingham <don@gramps-project.org>
|
||||||
|
* src/RelLib/_DateBase.py: fix the date comparison for text only
|
||||||
|
dates
|
||||||
|
|
||||||
2006-07-17 Brian Matherly <brian@gramps-project.org>
|
2006-07-17 Brian Matherly <brian@gramps-project.org>
|
||||||
* src/plugins/NarrativeWeb.py: typo
|
* src/plugins/NarrativeWeb.py: typo
|
||||||
* src/plugins/NarrativeWeb.py: fix name sorting in Windows (bug #236)
|
* src/plugins/NarrativeWeb.py: fix name sorting in Windows (bug #236)
|
||||||
|
@ -54,7 +54,7 @@ class DateBase:
|
|||||||
self.date = Date()
|
self.date = Date()
|
||||||
|
|
||||||
def serialize(self):
|
def serialize(self):
|
||||||
if self.date == None or self.date.is_empty():
|
if self.date == None or (self.date.is_empty() and not self.date.text):
|
||||||
date = None
|
date = None
|
||||||
else:
|
else:
|
||||||
date = self.date.serialize()
|
date = self.date.serialize()
|
||||||
|
Loading…
Reference in New Issue
Block a user