title: JQuery + Daterangepicker - current date and time?
body: <p>I am using the <code>daterangepicker JQuery</code> plugin as I have to pull some date ranges as part of a form. On the same form however, I also want to be able to automatically display the current date and time, preferably through the plugin.</p>
  
  <p>I cant seem to find a way to make this possible as <code>DRP</code> doesn't seem to like the <code>"YYYY/MM/DD HH:mm"</code> format and instead only displays today's date as of midnight (<code>eg. 2017/01/20 00:00</code>), but never the actual time.</p>
  
  <p>How can I fix this?</p>
  
  <pre><code>$(function() {
      $('input[name="incident_date"]').daterangepicker({
          singleDatePicker: true,
          showDropdowns: true,
          timePicker: true,
          timePicker24Hour: true,
          timePickerIncrement: 10,
          autoUpdateInput: true,
          locale: {
              format: 'YYYY/MM/DD HH:mm',
          },
  });
  </code></pre>