mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-28 11:46:20 -04:00
prettydate
Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
parent
8ea8edea99
commit
72646b8d5f
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ if (el.textContent == 'Parent Directory'){
|
|||
var rows = document.querySelectorAll('tr:not(.parent)');
|
||||
Array.prototype.forEach.call(rows, function(item, index){
|
||||
if (index !== 0) {
|
||||
var date_holder = item.querySelectorAll('td:nth-child(2)')[0];
|
||||
var date_holder = item.querySelectorAll('td:nth-child(3)')[0];
|
||||
var date = date_holder.textContent;
|
||||
date = prettyDate(date);
|
||||
date_holder.innerHTML = date;
|
||||
|
|
Loading…
Reference in a new issue