rem:  lastModified = (lastModdate) ? lastMod : "Unknown"; 
add: var lastModified; if (lastModdate) { var date = new Date(lastModdate); try { var dateService = Components.classes[nsScriptableDateFormat_CONTRACTID] .getService(nsIScriptableDateFormat); lastModified =  dateService.FormatDateTime( "", dateService.dateFormatLong, dateService.timeFormatSeconds, date.getFullYear(), date.getMonth()+1, date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds()); } catch(e) { lastModified = lastMod; } } else { try { var pageInfoBundle = document.getElementById("bundle_pageInfo"); lastModified = pageInfoBundle.getString("unknown"); } catch(e) { lastModified = "Unknown"; } } 
context: function makeDocument(page, root){  var title = page.title;  var url   = page.URL;  var lastModified;  var lastMod = page.lastModified // get string of last modified date  var lastModdate = Date.parse(lastMod)   // convert modified string to date  lastModified = (lastModdate) ? lastMod : "Unknown";  // unknown date (or January 1, 1970 GMT)  document.getElementById("titletext").setAttribute("value", title);  document.getElementById("urltext").setAttribute("value", url);  document.getElementById("lastmodifiedtext").setAttribute("value", lastModified);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0ee5afd6644f52359185e6bad5accef310b55df9/pageInfo.js/buggy/xpfe/browser/resources/content/pageInfo.js