author | anthonybaxter <anthonybaxter@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 3 Nov 2003 10:23:06 +0000 (10:23 +0000) | ||
committer | anthonybaxter <anthonybaxter@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 3 Nov 2003 10:23:06 +0000 (10:23 +0000) | ||
commit | 99bb103baea63b2e7a27e3976a75fc1c91169cc0 | |
tree | 07e9e61844be78c8e82095b1d5b9b8fcefed84fa | tree | snapshot |
parent | 0eb14c01c4d6144e21892fcfc266bdfc57571283 | commit | diff |
Date arithmetic fixes. Date +/- Interval passes all tests again, after
fixing a couple of the tests to actually reflect the calendar used on
my planet rather than where-ever Richard was when he wrote the test <wink>
The basic problem was that when going backwards, the code was adding
the days of the current month, rather than the previous month.
There's still a bug in the testDateSubtract that I'll fix next.
Bugfix candidate (probably)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1954 57a73879-2fb5-44c3-a270-3262357dd7e2
fixing a couple of the tests to actually reflect the calendar used on
my planet rather than where-ever Richard was when he wrote the test <wink>
The basic problem was that when going backwards, the code was adding
the days of the current month, rather than the previous month.
There's still a bug in the testDateSubtract that I'll fix next.
Bugfix candidate (probably)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1954 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/date.py | diff | blob | history | |
test/test_dates.py | diff | blob | history |