I am using jQuery bootstrap ClockPicker and need to get only times that their minutes are divisible by 5. For example if user selects 13:08, the ClockPicker should select 13:05.
Is there a way to override clockpicker to round down selected times minutes?
I didn't found a way to do this with the API. So I wrote one using
afterDone
callback.I parse the input's value and make the change to get the new minutes value.
http://jsbin.com/lopufu/edit?html,js