I’m not sure if I found a bug, or if I’m not loading the data right, but I have a Date Picker with the following configuration:
{id:"SessionDateTime",name:"SessionDateTime",type:"datepicker",label:"Date/Time",labelInline:true,labelWidth:100,dateFormat:"%Y-%m-%d %H:%i:%s",timePicker:true,date:new Date(),icon:"dxi dxi-calendar-today"},
When loading data, I have SessionDateTime with value “2020-01-30 14:30:00”, but it appears as “2020-01-30 00:00”. When I click on the input, the selected date is correct, but the date is correct, but the Time Picker shows 00:00. So it seems like the time is being dropped off the input value.
Is there something I should be doing differently to set that field value to get the time to show correctly?