[Koha-bugs] [Bug 8043] today's checkouts are in Previous checkouts in circulation.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Jun 9 13:17:27 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8043

--- Comment #10 from Chris Cormack <chris at bigballofwax.co.nz> ---
(In reply to comment #9)
> A simple solution could be to only get date in sql request :
> SELECT DATE(issuedate), DATE(date_due), ...
> But if all thoses columns are now Datetime, I suppose that's because we need
> the time somewhere (I didn't see where).
> 
In circulation now, you can specify hourly loans, so times are used for
calculating overdues etc.

> If C4::Dates should be abandonned, we could use DateTime module and truncate
> date variables to day before comparison where we don't need time.
> 
> I think some kind of global best practice should be written to handle date
> and time consistantly.

Definitely

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list