Skip to content

Commit

Permalink
Updated setting of time value (QA-6735)
Browse files Browse the repository at this point in the history
This doesn't need to be formatted.
  • Loading branch information
orangejenny committed Jun 27, 2024
1 parent 44359d3 commit d62c074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corehq/apps/cloudcare/static/cloudcare/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
Expand Down

0 comments on commit d62c074

Please sign in to comment.