title: Datetime picker error, cannot choose today's date back after change the date to another day
body: <p>When click input date it work to show today's date as the min date but after change it to the day after today, and then click today's date again, it won't change the value to today's date</p>
  <pre><code> &lt;div class=&quot;input-group&quot;&gt;
             &lt;input type=&quot;text&quot; class=&quot;form-control&quot;  autocomplete=&quot;off&quot; maxlength=&quot;10&quot;  data-date-format=&quot;YYYY-MM-DD&quot; required id=&quot;camp_start_date&quot; name=&quot;camp_start_date&quot;&gt;
              &lt;span class=&quot;input-group-addon&quot; id=&quot;basic-addon1&quot;&gt;Until&lt;/span&gt;
               &lt;input type=&quot;text&quot; class=&quot;form-control&quot;  autocomplete=&quot;off&quot; maxlength=&quot;10&quot;  data-date-format=&quot;YYYY-MM-DD&quot; required id=&quot;camp_end_date&quot; name=&quot;camp_end_date&quot;&gt;
       &lt;/div&gt;
  
  $('#camp_start_date').datetimepicker({
        showTodayButton: true,
        format: 'YYYY-MM-DD',
        sideBySide: true,
        minDate : new Date(),
      }).on('dp.change', function(e) {
          
        $('#camp_end_date').data(&quot;DateTimePicker&quot;).minDate(e.date)
      });
      $('#camp_end_date').datetimepicker({
        showTodayButton: true,
        format: 'YYYY-MM-DD'
      });
  </code></pre>
  <p>Like the picture below, i choose 24, and 23 is clickable but when i click 23 it wont change. But if click the &quot;today button&quot; button in the below part (&quot;+&quot;), it moves to today date correctly</p>
  <p><img src="https://i.stack.imgur.com/T7jXq.png" alt="" /></p>