summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bbb698f)
raw | patch | inline | side by side (parent: bbb698f)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 6 Apr 2004 22:43:59 +0000 (22:43 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 6 Apr 2004 22:43:59 +0000 (22:43 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2260 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/date.py | patch | blob | history |
diff --git a/roundup/date.py b/roundup/date.py
index 8d84c6ff505642f4faca7fd93f3e8e183b352d6b..3d096d7df4186cd85aa3d1f2c729f65e2db5f697 100644 (file)
--- a/roundup/date.py
+++ b/roundup/date.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: date.py,v 1.64 2004-04-06 21:56:10 richard Exp $
+# $Id: date.py,v 1.65 2004-04-06 22:43:59 richard Exp $
"""Date, time and time interval handling.
"""
def differenceDate(self, other):
"Return the difference between this date and another date"
+ return self - other
def applyInterval(self, interval):
''' Apply the interval to this date