title: Jquery Daterangepicker Date Format
body: <p>I have a daterangepicker with the code below.</p>
  
  <p>I want to change the format of the date but it's not working. The date in the textbox still is of the format <em>mm/dd/yyyyy</em>.</p>
  
  <pre><code>$(document).ready(function () {
      $('.datep').daterangepicker({
          dateFormat: 'yy-mm-dd',
          singleDatePicker: false,
          calender_style: "picker_1",
      }, function (start, end, label) {
          $.ajax({
              url : "{!! action('OrderController@orderlistdata') !!}",
              data : "stardate="+start.toISOString()+"&amp;enddate="+end.toISOString()
          }).done(function(result){
              $("#tbody").html(result);
              oTable.reload();
          });
      });
  });
  </code></pre>
  
  <p>Am I typing a wrong code? </p>