title: Bootstrap Datepicker re-initialize date format
body: <p>I have Bootstrap datepicker with default format <strong>mm/dd/yyyy</strong>, and I have select where I can change
  format <strong>from mm/dd/yyyy</strong> to <strong>dd/mm/yyyy</strong> and reverse.</p>
  <p>On select change I want to my datepicker change format.</p>
  <p>I tried</p>
  <pre><code>find('#options-date_format').on('change', function(){
      $(&quot;#picker&quot;).datepicker({format: formatDate})
  });
  </code></pre>
  <p>but It's not working, and I can't find way of doing this.
  Also tried to remove / destroy datepicker but I got javascript error.</p>