Ravi Boyina Ravi Boyina - 1 year ago 162
jQuery Question

Disable Minute slider from datetimepicker

I'm using jquery Datetimepicker addon to pick date and time, but I need to disable minutes slider from it.

I've tried following code but it won't worked.

dateFormat : 'yy-mm-dd',
timeFormat : 'HH',
showMinute : false,
showOn : 'focus'

Answer Source

Change the format in to

format: 'HH:00'
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download