rem: document.getElementById("view-deck").selectedPanel.goToDay(jsDateToDateTime(newDate)); 
add: var view = document.getElementById("view-deck").selectedPanel; var cdt = Components.classes["@mozilla.org/calendar/datetime;1"] .createInstance(Components.interfaces.calIDateTime); cdt.year = newDate.getFullYear(); cdt.month = newDate.getMonth(); cdt.day = newDate.getDate(); cdt.isDate = true; cdt.timezone = view.timezone; view.goToDay(cdt); 
context: CalendarWindow.prototype.goToDay = function calWin_goToDay( newDate ){    document.getElementById("view-deck").selectedPanel.goToDay(jsDateToDateTime(newDate));}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/721f1322179f877e13139ed5edc49ba7a9a90c30/calendarWindow.js/buggy/calendar/resources/content/calendarWindow.js