[Koha-bugs] [Bug 24840] Datetime issues in automatic_renewals / CanBookBeReserved

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 10 19:57:27 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24840

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
We should not use DateTime directly, but dt_from_string from Koha::DateUtils
instead.

See also bug 23079 for more info.

To recreate:

use DateTime;
say DateTime->new(year => 2020, month => 3, day => 8, hour => 2, time_zone =>
'America/New_York');


I guess your auto renew cronjob run at 2am.

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


More information about the Koha-bugs mailing list