
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Evergreen ILS". The branch, rel_3_15 has been updated via a1a4976c16633734753aed319d64e87ef86eac93 (commit) from 444d20fc7b63dbb2ddfe21ee8af66e2567a72989 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit a1a4976c16633734753aed319d64e87ef86eac93 Author: Shula Link <devonkonti@gmail.com> Date: Mon Feb 24 13:07:42 2025 -0500 LP#1951024 Hourly Checkouts get marked as overdue, even though they are not When an hourly checkout is made to a patron, the item is immediately marked as overdue in the items out tab. This is due to a timezone issue with date comparisons in the items_out.js file. This corrects that timezone issue using a recommendation by Jason Boyer. Release-note: Fixes erroneous overdue indication for hourly checkouts. Co-authored-by: Jason Boyer <JBoyer@equinoxOLI.org> Signed-off-by: Shula Link <devonkonti@gmail.com> Signed-off-by: Llewellyn Marshall <llewellyn.marshall@dncr.nc.gov> Signed-off-by: Michele Morgan <mmorgan@noblenet.org> diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js b/Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js index b7b8e1eae5..de18a84327 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js +++ b/Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js @@ -91,7 +91,7 @@ function($scope , $q , $routeParams , $timeout , egCore , egUser , patronSvc , $scope.colorizeItemsOutList = { apply: function(item) { - var duedate = item.due_date(); + var duedate = new Date(item.due_date()).toISOString(); if (duedate && duedate < new Date().toISOString()) { return 'overdue-row'; } ----------------------------------------------------------------------- Summary of changes: Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- Evergreen ILS