title: Bootstrap datepicker disable feature years
body: <p>I want to disable future years in bootstarp datepicker calender.
  I tried following code,</p>
  
  <pre><code> $('.dpd3').datepicker({
                  format: " yyyy",
                  viewMode: "years", 
                  endDate: now(),           
                  minViewMode: "years"
              });
  </code></pre>
  
  <p>Thanks</p>