smalot / bootstrap-datetimepicker

Both Date and Time picker widget based on twitter bootstrap (supports Bootstrap v2 and v3)
http://www.malot.fr/bootstrap-datetimepicker/
Apache License 2.0
3.49k stars 1.65k forks source link

Day/Hour view without date shown? #686

Open GeeZuZz opened 7 years ago

GeeZuZz commented 7 years ago

I'm trying to use the picker as only a time picker. But it insists in showing a date at the top of the view. Is it possible to remove it so it will only show the hours?

Also, why is the Today button shown, even if I set it to false?

$('.timepicker').datetimepicker( { startView: 0, format: "hh:ii", autoclose: "true", todayBtn: "false", maxView: "day", minuteStep: 15 } );

AlexV525 commented 7 years ago

boolean type does not need "", such as "false", use false instead.