jquery datepicker returning a double year i.e. 05-01-20102010
<pre><code>$(function() {
    $(".datepicker").datepicker({
        dateFormat: 'mm-dd-yy',
        yearRange: 'c-70:c+10',
        changeYear: true,
        changeMonth: true,
        numberOfMonths: 3,
        showWeek: true,
        firstDay: 1,
        showOn: 'button',
        buttonImage: "/images/scw.gif"; ?&gt;',
        buttonImageOnly: true
    });
});

&lt;input type='text' name='from_date' id='from_date' class='datepicker'&gt;
&lt;input type='text' name='to_date' id='to_date' class='datepicker'&gt;
</code></pre>
