[cvs] commit: kronolith/lib Kronolith.php kronolith/lib/Driver
sql.php
Chuck Hagenbuch
chuck at horde.org
Sun Nov 2 15:27:24 PST 2003
chuck 2003/11/02 15:27:24 PST
Modified files:
lib Kronolith.php
lib/Driver sql.php
Log:
- Kronolith::compareDates() is never used to tell if *times* are
different, just *dates*. Therefore, return 0 if it's called with 2
equal dates, no matter what their hour/minute/second values are.
- Add a bunch of new methods and cleanup to Kronolith_Date().
- Rewrite several of the recurrence cases in the SQL driver to be a
bit more concise and hopefully a bit clearer.
This, in total, fixes a number of odd recurrence bugs that I was
seeing now that I'm using the SQL driver. Most of them only showed up
in certain views or on date boundaries, like month or year rollover.
Revision Changes Path
1.104 +89 -76 kronolith/lib/Driver/sql.php
1.164 +88 -14 kronolith/lib/Kronolith.php
Chora Links:
http://cvs.horde.org/diff.php/kronolith/lib/Driver/sql.php?r1=1.103&r2=1.104&ty=u
http://cvs.horde.org/diff.php/kronolith/lib/Kronolith.php?r1=1.163&r2=1.164&ty=u
More information about the cvs
mailing list