rem: var completed = calendarToDo.completed.getTime(); 
add: var completed = calendarToDo.completed; 
context: function ToDoProgressAtom( calendarToDo ){  var now = new Date();     var completed = calendarToDo.completed.getTime();        if( completed > 0 ) {    return("completed");  }        var startDate     = new Date( calendarToDo.start.getTime() );  var dueDate       = new Date( calendarToDo.due.getTime() );        if (dueDate.getTime() != kNODATE) {    if (dueDate.getTime() < now.getTime()) {      return "overdue";    } else if (dueDate.getFullYear() == now.getFullYear() &&               dueDate.getMonth() == now.getMonth() &&               dueDate.getDate() == now.getDate()) {      return "duetoday";    }  }  if (startDate.getTime() != kNODATE) {     if (startDate.getTime() < now.getTime()) {      return "inprogress";    }  }  return "future";}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/9be3f570ca2e9ff93e5387d5d434c50917674cf9/unifinderToDo.js/clean/calendar/resources/content/unifinderToDo.js