jQuery UI DateTimepicker - cannot hide the time

datetimepicker, jquery, timepicker

Solution

I just came across this issue. I know its been a while since this question was asked by the OP and he has probably solved the problem. Just for someone who might be encountering this issue in the future, if you want to hide the timepicker, just simply call the original jquery ui datepicker method

datepicker()

instead of

datetimepicker()

Problem

I'm using the date time picker component from http://trentrichardson.com/examples/timepicker/. Trying to hide the time picker but my code doesn't work: ``` $('#id_start_date_time').datetimepicker('option', 'showTimepicker', false); ```

Original source