From: Dan Scott Date: Mon, 12 Dec 2016 20:39:08 +0000 (-0500) Subject: LP#1432753 Restore "All day" verbiage to Closed Dates editor X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5e98cb8eb23d93997372277aab501d97ca13427a;p=Evergreen.git LP#1432753 Restore "All day" verbiage to Closed Dates editor Commit ede7e78925 replaced the JSAN calls to util.date.formatted_date() with inline date/time handling, in the process returning times with granularity to the minute instead of to the second. This resulted in the test for "all day" closings always failing. Signed-off-by: Dan Scott Signed-off-by: Chris Sharp --- diff --git a/Open-ILS/xul/staff_client/server/admin/closed_dates.js b/Open-ILS/xul/staff_client/server/admin/closed_dates.js index 50d74c2832..732b17ca40 100644 --- a/Open-ILS/xul/staff_client/server/admin/closed_dates.js +++ b/Open-ILS/xul/staff_client/server/admin/closed_dates.js @@ -191,7 +191,7 @@ function cdBuildRow( date ) { var row; var flesh = false; - if( sh == '00:00:00' && eh == '23:59:59' ) { + if( sh == '00:00' && eh == '23:59' ) { if( sd == ed ) { row = cdAllDayTemplate.cloneNode(true);