[Koha-bugs] [Bug 14101] auto renewal is tied to 'no renewal before'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 10 11:13:14 CEST 2015


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

--- Comment #17 from Holger Meißner <h.meissner.82 at web.de> ---
Bondiurbano,

the calculation uses the exact DateTime. When the unit for the loan period is
days, as far as I know koha always sets the time for the due date to 23:59.

So with due date 04/06/2015 23:59 and 'No renewal before' 1, renewal will be
possible 03/06/2015 23:59. In your Example it is 20:59, three hours too early.

I admit that this is not intuitive, but this way the calculation works for
hours as well as days.

Maybe I should develop two different formulas, based on unit?

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


More information about the Koha-bugs mailing list