arqex / react-datetime

A lightweight but complete datetime picker react component.
1.99k stars 873 forks source link

currentDate does not include the selectedTime #812

Open jvanderen1 opened 2 years ago

jvanderen1 commented 2 years ago

I'm Submitting a ...

[ ] Bug report
[ ] Feature request
[x] Support request

Steps to Reproduce

Using the isValidDate prop returns only the date inside the first parameter, when it should return the date + selected time.

Expected Results

When a time is selected, the currentDate object contains the time within it.

Actual Results

All dates have no time (i.e. Wed Dec 08 2021 00:00:00 GMT-0800)