[Koha-bugs] [Bug 14494] Terribly slow checkout caused by DateTime->new in far future

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 9 11:18:18 CEST 2015


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

--- Comment #3 from Jonathan Druart <jonathan.druart at biblibre.com> ---
(In reply to Katrin Fischer from comment #2)
> Hm, I feel a bit like this builds in a secret feature - if I use 9998 it
> will be slow, but if I use 9999 it will be faster? 
> 
> When we fixed the same thing for debarments it made more sense, as the
> 'ulimited' debarment uses 9999 automatically, without the user entering a
> date. For the patron expiry the date is defined by the library and could be
> anything.

As I understood the description, the feature has existed.
Anyway we should call Koha::DateUtils here and not directly DateTime.

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


More information about the Koha-bugs mailing list