From c7020b11c22fa099456b9eba442ab4a647ff59da Mon Sep 17 00:00:00 2001 From: jlgijsbers Date: Fri, 21 Nov 2003 21:31:57 +0000 Subject: [PATCH] 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 --- roundup/cgi/templating.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2