title: setting start date limit in bootstrap datepicker
body: <p><strong>Update:</strong></p>
  
  <p>Updated date format in HTML and assigned today's date to data, although date range limit not restricting.</p>
  
  <p>New fiddle: <a href="http://jsfiddle.net/D9Xav/143/" rel="nofollow">http://jsfiddle.net/D9Xav/143/</a></p>
  
  <p>==========</p>
  
  <p>I'm trying to a create a datepicker which allows the user to select a year and month.
  Currently, I'm confused as to why the start month is 2013, and why the start date limit is not preventing me to go beyond x year?</p>
  
  <p>Here's the code: <a href="http://jsfiddle.net/D9Xav/140/" rel="nofollow">http://jsfiddle.net/D9Xav/140/</a></p>
  
  <p>Docs:</p>
  
  <ul>
  <li><a href="http://www.eyecon.ro/bootstrap-datepicker/" rel="nofollow">http://www.eyecon.ro/bootstrap-datepicker/</a></li>
  <li><a href="https://github.com/eternicode/bootstrap-datepicker" rel="nofollow">https://github.com/eternicode/bootstrap-datepicker</a></li>
  </ul>
  
  <p>Code here because rules:</p>
  
  <pre><code>&lt;div id="dpMonths" class="input-append date" data-date-minviewmode="months"
      data-date-viewmode="years" data-date-format="mm-yyyy"
  &gt;
      &lt;input type="text" readonly=""&gt; 
      &lt;span class="add-on"&gt;
          &lt;i class="icon-th"&gt;&lt;/i&gt;
      &lt;/span&gt;
  &lt;/div&gt;
  
  $('#dpMonths').data({
      date: '01/01/2000'
  });
  
  $('#dpMonths').datepicker('update');
  
  $('#dpMonths').datepicker({
      startDate: '+10y'
  }).on('changeDate', function (ev) {
      console.log(ev.date);
  });
  </code></pre>
  
  <p>I set the datepicker data, because it'll break otherwise, wasn't sure how to get round it/nor do I know why it get's overwritten with today's date/month.</p>