title: bootstrap datepicker change date event doesnt fire up when manually editing dates or clearing date
body: <pre><code>&lt;script type="text/javascript"&gt;
      // When the document is ready
      $(document).ready(function () {
          $('.datepicker').datepicker({
              format: "yyyy-mm-dd",
          }).on('changeDate', function(ev){
              // do what you want here
              $(this).datepicker('hide');
          }).on('changeDate', function(ev){
              if ($('#startdate').val() != '' &amp;&amp; $('#enddate').val() != ''){
                  $('#period').text(diffInDays() + ' d.'); 
              } else {
                  $('#period').text("-");
              }
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>So here's what my datepicker looks like. So basically when I change date by clicking mouse it works good, however when I manually change date with keyboard or manually clear the date change date event doesn't get called. Is this a bug or am I doing something wrong here ?</p>