rem: eventStartDate = new Date( calendarEvent.start.getTime() ); 
add: eventStartDate = new Date( calendarEvent.startDate.jsDate ); 
context: function getCurrentNextOrPreviousRecurrence( calendarEvent ){   var isValid = false;   var eventStartDate;   if( calendarEvent.recur )   {      var now = new Date();      var result = new Object();      var dur = calendarEvent.end.getTime() - calendarEvent.start.getTime();      // To find current event when now is during event, look for occurrence      // starting duration ago.      var probeTime = now.getTime() - dur;      isValid = calendarEvent.getNextRecurrence( probeTime, result );      if( isValid )      {         eventStartDate = new Date( result.value );      }      else      {         isValid = calendarEvent.getPreviousOccurrence( probeTime, result );                  if (isValid)         {            eventStartDate = new Date( result.value );         }      }   }      if( !isValid )   {      eventStartDate = new Date( calendarEvent.start.getTime() );   }         return eventStartDate;}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/4b8e4f83ff17290d68330e28e6736b46c3c10244/calendarEvent.js/clean/calendar/resources/content/calendarEvent.js