title: AngularJS/Bootstrap - Datepicker range filter issues
body: <p>I am using DataTables (<a href="http://www.datatables.net/" rel="nofollow">http://www.datatables.net/</a>) and Bootstrap datepicker. Here is my JSFiddle: <a href="http://jsfiddle.net/wg3b6y7m/" rel="nofollow">http://jsfiddle.net/wg3b6y7m/</a> and the code for the daterange filter:</p>
  
  <pre><code>function (oSettings, aData, iDataIndex) {
      if ($('#min').val() == '' &amp;&amp; $('#max').val() == '') {
          return true;
      }
  
      if ($('#min').val() != '' || $('#max').val() != '') {
          var iMin_temp = $('#min').val();
  
          if (iMin_temp == '') {
              iMin_temp = '01/01/2000';
          }
  
          var iMax_temp = $('#max').val();
  
          if (iMax_temp == '') {
              iMax_temp = '31/12/2999'
          }
  
          var arr_min = iMin_temp.split("/");
          var arr_max = iMax_temp.split("/");
  
          // aData[column with dates]
          var arr_date = aData[1].split("/");
          var iMin = new Date(arr_min[2], arr_min[0], arr_min[1], 0, 0, 0, 0)
          var iMax = new Date(arr_max[2], arr_max[0], arr_max[1], 0, 0, 0, 0)
          var iDate = new Date(arr_date[2], arr_date[0], arr_date[1], 0, 0, 0, 0)
  
          if (iMin == "" &amp;&amp; iMax == "") {
              return true;
          } else if (iMin == "" &amp;&amp; iDate &lt; iMax) {
              return true;
          } else if (iMin &lt;= iDate &amp;&amp; "" == iMax) {
              return true;
          } else if (iMin &lt;= iDate &amp;&amp; iDate &lt;= iMax) {
              return true;
          }
          return false;
      }
  });
  </code></pre>
  
  <p>I am having some issues with the datepicker range filter. If I select range 01/01/2015 to 01/28/2015, the rows filter just fine (filtering 2nd column "Date Created"). As soon as I change the "End Date" to 01/29/2015, the first row with a February date appears. Why is it including February dates when my range is still in January?</p>