When moving the slider, a TimePicker object is used as the "inst" argument for the onSelect callback. When clicking a date, a different type of object is returned (it seems equivalent to TimePicker.inst).
This makes getting the javascript Date object out of the "inst" function argument tricky.
When moving the slider, a TimePicker object is used as the "inst" argument for the onSelect callback. When clicking a date, a different type of object is returned (it seems equivalent to TimePicker.inst).
This makes getting the javascript Date object out of the "inst" function argument tricky.