clockpicker
clockpicker copied to clipboard
Setting minutes increment?
Hello. Is there any way to set / restrict the minutes to a certain increment? For example, to set an increment of "5" would only allow the minutes selection to be 0, 5, 10, 15.... As it is now, one can click and drag around the clock face for the minutes and select any minute.
+1
+1
The minute incremental is implemented in my fork :) https://github.com/JordyMoos/clockpicker
You can set the hourstep and minutestep for example:
$('#containert').clockpicker({
hourstep: 2, // Only even hours
minutestep: 5 // Per 5 minutes
});
Thanks JordyMoos, works perfectly !
+1
+1