Current I can get the value like dateFormat: 'y-m-d'
22-03-18 , But i want full time stamp like that 2022-03-19T01:24:33.374355+01:00 The reason is that I'm getting timestamp from Django in this format and I want to filter out to get the range using flatpicker
That's my current code :
<Col lg="4" md="6" className="mb-1">
<Label className="form-label" for="date">
Date:
</Label>
<Flatpickr
className="form-control"
id="date"
value={Picker}
options={{ mode: 'range', dateFormat: 'y-m-d' }}
onChange={(date) => handleDateFilter(date)}
/>
</Col>
I have read the docs https://flatpickr.js.org/options/ as well but didn't able find the solution. So please if any one knows how to get to fix that ??