mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 21:21:21 -03:30
Remove timezone formatting for date picker entry. (#12163)
This commit is contained in:
parent
162e09972f
commit
f7be6b6423
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user