title: Disable future dates in Bootstrap 3 Datetimepicker
body: <p>I'm using <a href="https://eonasdan.github.io/bootstrap-datetimepicker/" rel="nofollow noreferrer">Bootstrap 3 Datetimepicker</a> and I need to disable all my future dates, I know it has it's own <code>disabledDates</code> function but I tried so many times and it's still not working.</p>
  
  <p>What am I doing wrong?</p>
  
  <pre><code>$('#data_move').datetimepicker({
      language: 'pt-BR',
      disabledDates: [
          moment("22/02/2017")
      ]
  });
  </code></pre>