trentrichardson / jQuery-Timepicker-Addon

Adds a timepicker to jQueryUI Datepicker
http://trentrichardson.com/examples/timepicker/
MIT License
2.66k stars 1.05k forks source link

Add option to remove Now Button when initialize slider #790

Open ar-anvd opened 9 years ago

ar-anvd commented 9 years ago

I am not sure, but it is possible to show the timepicker without the now button?

I can't find anything about this in docs.

Here is an example

$('#basic_example_1').timepicker({ hourMin: 0, hourMax: 8, });

The now button will not work correclty if the current time is after 8 or before 0. So, an option to disable now would be nice. Display none with css is a dirty hack.

Eaglef90 commented 8 years ago

I would like to second the ability to disable the "Now" button.