From 4409f30bc24b7e239a70088ccca5f3bf75d8af0e Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 11 Dec 2011 15:58:16 +0000 Subject: [PATCH] 5423: Incorrect age for 'death before XX' svn: r18576 --- src/gen/lib/date.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gen/lib/date.py b/src/gen/lib/date.py index ec8dec274..3b594f836 100644 --- a/src/gen/lib/date.py +++ b/src/gen/lib/date.py @@ -356,7 +356,7 @@ class Span(object): #v = self.date1.sortval - self.date2.sortval #self.sort = (v, -Span.ABOUT) #self.minmax = (v - Span.ABOUT, v + Span.ABOUT) - self.repr = _("more than") + " " + self._format(self._diff(self.date1, self.date2)) + self.repr = _("less than") + " " + self._format(self._diff(self.date1, self.date2)) elif self.date1.get_modifier() == Date.MOD_AFTER: # AFTER---------------------------- if self.date2.get_modifier() == Date.MOD_NONE: #v = self.date1.sortval - self.date2.sortval