We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 166a968 commit 51ba1f0Copy full SHA for 51ba1f0
roundup/date.py
@@ -15,7 +15,7 @@
15
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
16
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
17
#
18
-# $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 $
19
20
"""Date, time and time interval handling.
21
"""
@@ -266,6 +266,7 @@ def get_mdays(year, month):
266
267
def differenceDate(self, other):
268
"Return the difference between this date and another date"
269
+ return self - other
270
271
def applyInterval(self, interval):
272
''' Apply the interval to this date
0 commit comments