From 0f9ef8cbe18152b0e2280c0c4053e3da75f4c705 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Mon, 12 Dec 2016 15:39:08 -0500 Subject: [PATCH] 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 --- Open-ILS/xul/staff_client/server/admin/closed_dates.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.11.0