rem: EventObject.displayDate = new Date( tmpevent.displayDate ); EventObject.displayEndDate = new Date( tmpevent.displayEndDate ); 
add: EventObject.displayDate = tmpevent.displayDate; EventObject.displayEndDate = tmpevent.displayEndDate; 
context: CalendarEventDataSource.prototype.getEventsForWeek = function calEvent_getEventsForWeek( date ){   var eventDisplays =  new Array();   var eventList = this.gICalLib.getEventsForWeek( date );      while( eventList.hasMoreElements() )   {      var tmpevent = eventList.getNext().QueryInterface(Components.interfaces.oeIICalEventDisplay);            var EventObject = new Object;            EventObject.event = tmpevent.event;            EventObject.displayDate = new Date( tmpevent.displayDate );      EventObject.displayEndDate = new Date( tmpevent.displayEndDate );      eventDisplays[ eventDisplays.length ] = EventObject;   }   eventDisplays.sort( this.orderEventsByDisplayDate );   return eventDisplays;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/be0de19f881d83a8a733eb2bf44160fb1bf8403f/calendarEvent.js/clean/calendar/resources/content/calendarEvent.js