[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:13:22 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8043
Sophie MEYNIEUX <sophie.meynieux at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sophie.meynieux at biblibre.co
| |m
--- Comment #9 from Sophie MEYNIEUX <sophie.meynieux at biblibre.com> ---
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).
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.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list