Closed majioa closed 6 years ago
Why shouldn't dates be the same? PickMeUp doesn't care about hours, only about days, months and years. Also hours will not be preserved internally, so do not rely on that.
To be honest, I don't understand what you're trying to achieve and what issue you're facing.
@nazar-pc Of course PickMeUp doesn't care about hours, but when a date was passed to date
field as an argument the lib just ignore the whole datetime with a date part defaulting to Date.now
.
Hm... could you prepare a demo? https://github.com/nazar-pc/PickMeUp#contribution
will try
I have the code, which I add some hours to the current date in:
In a debugger I see that the dates are being changed, but the dates on the calendary are the same (defaulting to now). So why the pickmeup isn't read the date passed as objects?