summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e368c1d)
raw | patch | inline | side by side (parent: e368c1d)
author | jlgijsbers <jlgijsbers@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 21 Nov 2003 21:31:57 +0000 (21:31 +0000) | ||
committer | jlgijsbers <jlgijsbers@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 21 Nov 2003 21:31:57 +0000 (21:31 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2001 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/cgi/templating.py | patch | blob | history |
index 1c461bf631ac81e906c0ffeca6e8b4b31deb4cdf..537a1cbf1e3aa251ac7db48ad8102df63beda2df 100644 (file)
return ''
# figure the interval
- interval = date.Date('.') - self._value
+ interval = self._value - date.Date('.')
if pretty:
return interval.pretty()
return str(interval)