title: Bootstrap 3 Datepicker v4 - set default date
body: <p>im using this datetimepicker <a href="http://eonasdan.github.io/bootstrap-datetimepicker/" rel="noreferrer">http://eonasdan.github.io/bootstrap-datetimepicker/</a> in my edit form. Im not able to set up default value in this datetimepicker from my variable date. If I use <code>$('#edit_cost_date').val(json[0]['date']);</code> on input element, the value in input is right but if i open datetimepicker i see that marked is not the date in input but actual date.</p>
  
  <pre><code>var date = json[0]['date'];
  $(function () {
      $('#datetimepicker-edit-cost').datetimepicker({
          locale: 'cs',
          format:'DD.MM.YYYY'
      });
  });
  </code></pre>