From d62c074503cbf6992d426a1bc4d6509ed5ca5c5c Mon Sep 17 00:00:00 2001 From: Jenny Schweers Date: Thu, 27 Jun 2024 08:47:18 -0400 Subject: [PATCH] Updated setting of time value (QA-6735) This doesn't need to be formatted. --- corehq/apps/cloudcare/static/cloudcare/js/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corehq/apps/cloudcare/static/cloudcare/js/utils.js b/corehq/apps/cloudcare/static/cloudcare/js/utils.js index 4037e02d851b..54acc74f0401 100644 --- a/corehq/apps/cloudcare/static/cloudcare/js/utils.js +++ b/corehq/apps/cloudcare/static/cloudcare/js/utils.js @@ -405,7 +405,7 @@ hqDefine('cloudcare/js/utils', [ useCurrent: true, }; if (date.isValid()) { - options.viewDate = new hqTempusDominus.tempusDominus.DateTime(date.format(dateFormat + ' ' + timeFormat)); + options.viewDate = new hqTempusDominus.tempusDominus.DateTime(date); } return hqTempusDominus.createTimePicker($el.get(0), options); };