title: Not able to disable past dates on vuejs-datepicker
body: <p>I want to disable all past dates before "today". I am using vuejs-datepicker. <a href="https://github.com/charliekassel/vuejs-datepicker" rel="nofollow noreferrer">vuejs-datepicker</a> However it's not working nor there are any errors in the console log. I can still choose past dates.</p>
  
  <pre><code>&lt;datepicker
       v-model="date"
       :format="DatePickerFormat"
       :disabledDates="disabledDates"&gt;
  &lt;/datepicker&gt;
  
  data(){
        return {
          date: '',
          DatePickerFormat: 'dd/MM/yyyy',
          disabledDates: {
            to: new Date(Date.now() - 8640000)
          }
        }
      }
  </code></pre>
  
  <p>Am I doing something wrong? </p>
  
  <p><strong><em>Update1:</em></strong></p>
  
  <pre><code>&lt;template&gt;
    &lt;datepicker
       v-model="model.date"
       :format="DatePickerFormat"
       :disabledDates="disabledDates"&gt;
  &lt;/datepicker&gt;
  &lt;/template&gt;
  
  &lt;script&gt;
    import Datepicker from 'vuejs-datepicker'
  
    export default {
  
      components: {
        Datepicker
      },
  
      data(){
        return {
          model: {
            date: ''
          }
          DatePickerFormat: 'dd/MM/yyyy',
          disabledDates: {
            to: new Date(Date.now() - 8640000)
          }
        }
      }
  
    }
  
  &lt;/script&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/W9e1V.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W9e1V.png" alt="enter image description here"></a></p>
  
  <p>I still can choose past dates before 19.07.2018</p>