Open devluxca opened 1 year ago
Describe the bug When the calendar is in mode "time", the current prop not working and I can't set default time to datepicker.
To Reproduce
// setTime is an useState <DatePicker mode="time" options={{ backgroundColor: '#f9f9f9', textHeaderColor: '#8ECA74', mainColor: '#8ECA74', selectedTextColor: '#fff' }} current={'2023-01-29 08:00'} selected={'2023-01-29 08:00'} onTimeChange={selectedTime => setTime(selectedTime)} />
Expected behavior Default hour in 08 and minutes in 00.
I have same issue
same issue here
Describe the bug When the calendar is in mode "time", the current prop not working and I can't set default time to datepicker.
To Reproduce
Expected behavior Default hour in 08 and minutes in 00.