mugifly/jquery-simple-datetimepicker

Time click/select doesn't trigger the onSelect method ?

Opened this issue · 1 comments

Hello,

Thank you for the plugin and your work.

I was wondering if the select time has the correct behaviour ?
While selecting a date the onSelect method is triggers well, on the other hand while clicking/selecting time it doesn't go through onSelect.

I am using specific format date which I modify in onSelect method. Whereas the time select get the format that is in formatDate, not what I am looking for.

Any ideas ?

For now I am using onchange event on input field. But it would be nice if I could use onSelect method of datetimepicker.

Check my commit. It should solve your problem.