
I got this result editing:
assets/backend/css/bootstrap-material-datetimepicker.js
assets/backend/css/bootstrap-material-datetimepicker.css
And in the and of these files:
resources/views/admin/editRestaurant.blade.php
resources/views/restaurantowner/editRestaurant.blade.php
$('.clock').bootstrapMaterialDatePicker({
shortTime: false, // true for AM/PM
date: false,
time: true,
format: 'HH:mm'
});
Now, the clock automatically chages to minutes when you choose an hour and closes when click in minutes.
Basically, you set this parammaters in .js file in this line
this.params = { date : true, time : true, format : 'YYYY-MM-DD', minDate : null, maxDate : null, currentDate : null, lang : 'en', weekStart : 0, shortTime : false, clearButton : false, nowButton : false, cancelText : 'Cancel', okText : 'OK', clearText : 'Clean', nowText : 'Now', switchOnClick : true };