There are a number of answers on this forum for getting a front-end form to have a DateTime field that splits date and time into separate fields; It's not working for me.
If I strip back to absolute basics - hardcoded, as a test:
<input type="hidden" id="endDate" name="fields[endDate]" value="2017-12-30 02:15:00" />
Works, and a date & time is stored in the back-end field, displaying correctly.
But, if I try to split it so the date and time fields are separate (so that I can use a date picker on one and a select drop down on the other) - it doesn't save a value into the field. Even stripped back to hard-coded hidden fields...
<input type="hidden" id="endDate" name="fields[endDate][date]" value="2017-12-30" />
<input type="hidden" id="endTime" name="fields[endDate][time]" value="02:15:00" />
What am I doing wrong? The is the same format that works in the Craft back-end...