[GIT] Evergreen ILS branch main updated. 9e02cfc75a95893b0605c2605e8f81f85db9c410

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, main has been updated via 9e02cfc75a95893b0605c2605e8f81f85db9c410 (commit) from 17a2f5efdd814a08a685b6c337f0688f0c7cd5ca (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 9e02cfc75a95893b0605c2605e8f81f85db9c410 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
participants (1)
-
Git User