From: jlgijsbers Date: Fri, 21 Nov 2003 21:31:57 +0000 (+0000) Subject: Invert date substraction to put activity in the past again (sf bug 842027). X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c7020b11c22fa099456b9eba442ab4a647ff59da;p=roundup.git Invert date substraction to put activity in the past again (sf bug 842027). git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2001 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/cgi/templating.py b/roundup/cgi/templating.py index 1c461bf..537a1cb 100644 --- a/roundup/cgi/templating.py +++ b/roundup/cgi/templating.py @@ -1053,7 +1053,7 @@ class DateHTMLProperty(HTMLProperty): return '' # figure the interval - interval = date.Date('.') - self._value + interval = self._value - date.Date('.') if pretty: return interval.pretty() return str(interval)