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
314a103f8d
commit
7d1d821da8
@ -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>
|
||||
* src/plugins/NarrativeWeb.py: typo
|
||||
* src/plugins/NarrativeWeb.py: fix name sorting in Windows (bug #236)
|
||||
|
@ -54,7 +54,7 @@ class DateBase:
|
||||
self.date = Date()
|
||||
|
||||
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
|
||||
else:
|
||||
date = self.date.serialize()
|
||||
|
Loading…
Reference in New Issue
Block a user