diff --git a/ChangeLog b/ChangeLog index c7c51415b..5ef0111eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-07-18 Don Allingham + * src/RelLib/_DateBase.py: fix the date comparison for text only + dates + 2006-07-17 Brian Matherly * src/plugins/NarrativeWeb.py: typo * src/plugins/NarrativeWeb.py: fix name sorting in Windows (bug #236) diff --git a/src/RelLib/_DateBase.py b/src/RelLib/_DateBase.py index b10cfe342..dd113bec6 100644 --- a/src/RelLib/_DateBase.py +++ b/src/RelLib/_DateBase.py @@ -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()