rem: startDate = new Date( startDate.getFullYear(), startDate.getMonth(), startDate.getDate(), startDate.getHours(), Minutes, 0); newEvent( startDate ); 
add: date = jsDateToDateTime(startDate); date.minute = Minutes; */ date = null; newEvent( date ); 
context: function newEventCommand( event ){   var startDate;   if( gNewDateVariable != null )   {      startDate = gNewDateVariable;   }   else      startDate = gCalendarWindow.currentView.getNewEventDate();   var Minutes = Math.ceil( startDate.getMinutes() / 5 ) * 5 ;      startDate = new Date( startDate.getFullYear(),                         startDate.getMonth(),                         startDate.getDate(),                         startDate.getHours(),                         Minutes,                         0);   newEvent( startDate );}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e83fac781ea3f2e95dbfffb8513f48c3d509f9d7/calendar.js/buggy/calendar/resources/content/calendar.js