title: Wrong time in maxDate
body: <p>Hello I am using <code>maxDate</code> in <code>datetimepicker</code> like this:</p>
  <pre><code>const today = new Date()
  $('#recordtime').datetimepicker({
     sideBySide: true,
     locale: 'bg',
     format: 'DD/MM/YYYY  HH:mm:ss',
     maxDate: today
  });
  </code></pre>
  <p>But the problem is that I can pick till 8:00:00 - today
  <a href="https://i.stack.imgur.com/xsPuy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xsPuy.png" alt="enter image description here" /></a></p>
  <p>Why is That? Do I need to set some  local time settings in the script to restrict to 00:00:00?</p>
  <p>The js that I use is:
  <a href="https://cdnjs.com/libraries/bootstrap-datetimepicker/4.17.37" rel="nofollow noreferrer">https://cdnjs.com/libraries/bootstrap-datetimepicker/4.17.37</a></p>