Mercurial > p > roundup > code
diff CHANGES.txt @ 1894:41ad8b781232
Date - Date works again.
Note that it only produces Intervals with days, hours, minutes and
seconds. Making it produce years and months is a lot more work.
bugfix candidate
| author | Anthony Baxter <anthonybaxter@users.sourceforge.net> |
|---|---|
| date | Tue, 04 Nov 2003 12:35:47 +0000 |
| parents | cd53a3122657 |
| children | d6c039c5b52b |
line wrap: on
line diff
--- a/CHANGES.txt Mon Nov 03 23:39:38 2003 +0000 +++ b/CHANGES.txt Tue Nov 04 12:35:47 2003 +0000 @@ -24,6 +24,9 @@ (bug #798659). - Remove empty lines before sending strings off to the csv parser (bug #821364). +- Date arithmetic was utterly broken, and has been for a long time. + Date +/- Interval now works, and Date - Date also works (produces + an Interval. Cleanup: - Replace curuserid attribute on Database with the extended getuid() method.
