https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35559
--- Comment #1 from Peter Vashchuk <[email protected]> --- Created attachment 159807 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159807&action=edit Bug 35559 - Allow the change of expiration date on the last day of expiration The result of this comparison will almost never be 0 as it requires the dates to be same down to a second: DateTime->compare( dt_from_string( $res->expirationdate ), dt_from_string() ) == -1 This patch fixes it. To reproduce: 1) Create or use existing hold that is awaiting pickup. 2) Set it's expiration date to today. (if you can't do it through koha interface, edit it in the database or wait for tomorrow to come) 3) Check that you can't change the expiration date anymore as it says "Expired: %date%" 4) Apply the patch 5) Check that you can change the expiration date -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
