Datepicker: Bug in onChangeMonthYear?

Datepicker: Bug in onChangeMonthYear?


I have a calendar widget that is using the onChangeMonthYear callback
to fire an ajax function every time a new month is chosen. Problem is,
the 'date' value that datepicker returns is only the year, no month.
With just this sample code, only the year is alerted:
$("#calendarWidget").datepicker({
        onChangeMonthYear: function(date){
            alert(date);
        }
});
Is this a bug? Is there some other way to get the year AND month when
the month is changed?
Thanks much in advance.
AJ