rem: toDoTreeView.sortStartedTime = new Date().getTime(); 
add: toDoTreeView.sortStartedTime = now(); 
context: function refreshToDoTree( taskArray ){   if( taskArray === false )      taskArray = getTaskTable();   gTaskArray = taskArray;   toDoTreeView.rowCount = gTaskArray.length;      var ArrayOfTreeCols = document.getElementById( ToDoUnifinderTreeName ).getElementsByTagName( "treecol" );      for( var i = 0; i < ArrayOfTreeCols.length; i++ )   {      if( ArrayOfTreeCols[i].getAttribute( "sortActive" ) == "true" )      {         toDoTreeView.selectedColumn = ArrayOfTreeCols[i].getAttribute( "id" );         toDoTreeView.sortDirection = ArrayOfTreeCols[i].getAttribute("sortDirection");         toDoTreeView.sortStartedTime = new Date().getTime(); //for null/0 dates         gTaskArray.sort(compareTasks);         break;      }   }   document.getElementById( ToDoUnifinderTreeName ).view = toDoTreeView;   document.getElementById( ToDoUnifinderTreeName ).taskView = new calendarTaskView( gTaskArray );}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/61bb44ed0b05d923dd9d67669bdb013ec987a6df/unifinderToDo.js/clean/calendar/resources/content/unifinderToDo.js