title: D3 date format throwing 'd.getFullYear is not a function'
body: <p>According to <a href="https://github.com/mbostock/d3/wiki/Time-Formatting" rel="nofollow">the docs</a>:</p>
  
  <ul>
  <li><code>%y</code> - year without century as a decimal number [00,99].</li>
  <li><code>%b</code> - abbreviated month name.</li>
  <li><code>%d</code> - zero-padded day of the month as a decimal number [01,31].</li>
  </ul>
  
  <p>So I thought this should parse correctly to the 26th December 2009:</p>
  
  <pre><code>var date = d3.time.format('%y-%b-%d')('09-Dec-26');
  </code></pre>
  
  <p>... but instead it throws an exception:</p>
  
  <pre>Uncaught TypeError: d.getFullYear is not a function</pre>