If time is enabled, I expect defaultDate to also set the default time.
See this jsfiddle.
I'm building an app that allows users to schedule certain tasks. 7:00 PM is the most common time that something would be scheduled, so I would like the datetime picker to default to 7:00 PM.
Thanks for the fast turnaround!
not working for me ... How did you fix it ?
@delmotte You can do so like this:
flatpickr(".flatpickr", {
enableTime: true,
defaultHour: 10,
defaultMinute: 23,
});
Most helpful comment
@delmotte You can do so like this: