rem: if( dayDisplayEventList[i].event.isAllDay != true ) { 
add: if( dayDisplayEventList[i].event.startDate.isDate != true ) { 
context: CalendarView.prototype.getViewLimits = function calView_getViewLimits( dayDisplayEventList, date ){  //set defaults from preferences  var sHour = getIntPref( this.calendarWindow.calendarPreferences.calendarPref, "event.defaultstarthour", 8 );  var eHour = getIntPref( this.calendarWindow.calendarPreferences.calendarPref, "event.defaultendhour", 17 );  //get date start and end as millisecs for comparisons  var tmpDate =new Date(date);  tmpDate.setHours(0,0,0);  var dateStart = tmpDate.valueOf();  tmpDate.setHours(23,59,59);  var dateEnd = tmpDate.valueOf();    for ( var i = 0; i < dayDisplayEventList.length; i++ ) {    if( dayDisplayEventList[i].event.isAllDay != true ) {            if( dayDisplayEventList[i].displayDate < dateStart ) {        sHour=0;      } else {        if( dayDisplayEventList[i].displayDate <= (dateStart + sHour*kDate_MillisecondsInHour))           sHour = Math.floor((dayDisplayEventList[i].displayDate - dateStart)/kDate_MillisecondsInHour);      }            if( dayDisplayEventList[i].displayEndDate > dateEnd ) {        eHour=23;      } else {        if( dayDisplayEventList[i].displayEndDate > (dateStart + (eHour)*kDate_MillisecondsInHour) )           eHour = Math.ceil((dayDisplayEventList[i].displayEndDate - dateStart)/kDate_MillisecondsInHour);      }    }  }  return { startHour: sHour, endHour: eHour };}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/dfc506d7b16b0a12bc8e02f60229f3b9c4f2a451/calendarWindow.js/buggy/calendar/resources/content/calendarWindow.js