support skynet

This commit is contained in:
2020-02-04 19:37:46 +01:00
parent aea57286d9
commit 3ebf9785da
20 changed files with 852 additions and 611 deletions

View File

@@ -190,12 +190,7 @@ DirectoryElement.prototype.createFileButton = function(file, index) {
let cell = document.createElement("div")
cell.style.width = this.fieldDateWidth
let label = document.createElement("span")
let date = new Date(file.dateCreated)
label.innerText = date.getFullYear()
+"-"+("00"+(date.getMonth()+1)).slice(-2)
+"-"+("00"+date.getDate()).slice(-2)
+" "+("00"+date.getHours()).slice(-2)
+":"+("00"+date.getMinutes()).slice(-2)
label.innerText = printDate(new Date(file.dateCreated), true, true, false)
cell.appendChild(label)
el.appendChild(cell)
}