There is a calendar configured through
$('.calendar').datetimepicker({ theme: 'dark', minDate: new Date('<?=time()?>'), onSelectTime: onSelectTime }); The date works correctly, that is - the date that has already been, can not be selected. But with time, the problem is, the time that was already possible to choose, and so it is not necessary. And in general the problem is that time goes without minutes, but only round the clock.
00:00 - 23:00 Tried to change the format parameter to: H: i and others, does not work. It is necessary in general that, just as the date should follow, in the same order, without choosing the past tense. Save