rem: var modDate = new Date(file.file.lastModificationDate); file.cachedDate = gDateService.FormatDateTime("", gDateService.dateFormatShort, gDateService.timeFormatSeconds, modDate.getFullYear(), modDate.getMonth()+1, modDate.getDate(), modDate.getHours(), modDate.getMinutes(), modDate.getSeconds()); 
add: file.cachedDate = file.file.lastModificationDate; file.cachedDateText = formatDate(file.cachedDate); 
context:   getCellText: function(row, colID) {    /* we cache the file size and last modified dates -       this function must be very fast since it's called       whenever the cell needs repainted */    var file, isdir = false;    if (row < this.mDirList.length) {      isdir = true;      file = this.mDirList[row];    } else if ((row - this.mDirList.length) < this.mFilteredFiles.length) {      file = this.mFilteredFiles[row - this.mDirList.length];    } else {      return "";    }    if (colID == "FilenameColumn") {      if (!("cachedName" in file)) {        file.cachedName = file.file.unicodeLeafName;      }      return file.cachedName;    } else if (colID == "LastModifiedColumn") {      if (!("cachedDate" in file)) {        // perhaps overkill, but lets get the right locale handling        var modDate = new Date(file.file.lastModificationDate);        file.cachedDate = gDateService.FormatDateTime("", gDateService.dateFormatShort,                                                      gDateService.timeFormatSeconds,                                                      modDate.getFullYear(), modDate.getMonth()+1,                                                      modDate.getDate(), modDate.getHours(),                                                      modDate.getMinutes(), modDate.getSeconds());      }      return file.cachedDate;    } else if (colID == "FileSizeColumn") {      if (isdir) {        return "";      } else {        if (!("cachedSize" in file)) {          file.cachedSize = String(file.file.fileSize);        }      }      return file.cachedSize;    }    return "";  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/220e68640155fb40b4eddb7815534dd34112330a/nsFileView.js/clean/xpfe/components/filepicker/res/content/nsFileView.js