mugifly / jquery-simple-datetimepicker

Date & time picker for jQuery, It's simple & clean.
http://mugifly.github.com/jquery-simple-datetimepicker
Other
260 stars 182 forks source link

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

Open hpolonkoev opened 7 years ago

hpolonkoev commented 7 years ago

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 onSelectmethod. 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.

spaider88 commented 7 years ago

Check my commit. It should solve your problem.