Sortable date
This commit is contained in:
parent
75756b50bb
commit
3da54bea74
@ -176,7 +176,7 @@
|
||||
while (n[0] < a.length) {
|
||||
let entry = a[n[0]];
|
||||
mtime = new Date(entry.mtime),
|
||||
entry.mtime = `${mtime.toLocaleDateString()} ${mtime.toLocaleTimeString()}`,
|
||||
entry.mtime = mtime.toISOString(),
|
||||
url = `${pathname}${entry.name}`;
|
||||
|
||||
if (entry.type == 'directory') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user