diff --git a/awx/ui/src/components/Schedule/shared/DateTimePicker.js b/awx/ui/src/components/Schedule/shared/DateTimePicker.js index 2dd8f1a4eb..6d958bf50c 100644 --- a/awx/ui/src/components/Schedule/shared/DateTimePicker.js +++ b/awx/ui/src/components/Schedule/shared/DateTimePicker.js @@ -27,7 +27,7 @@ function DateTimePicker({ dateFieldName, timeFieldName, label }) { const onDateChange = (inputDate, newDate) => { dateHelpers.setTouched(); if (isValidDate(newDate) && inputDate === yyyyMMddFormat(newDate)) { - dateHelpers.setValue(new Date(newDate).toISOString().split('T')[0]); + dateHelpers.setValue(inputDate); } };