Skip to content
Snippets Groups Projects
Commit dc1f8759 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Display the file index date-time instead of the file's date-time

Since sorting works on the file index record date-time (date/time added)
it was confusing to display dates that didn't always match the sort order.
parent 8c6589b0
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ function dir_index(dir)
write("<tr>");
write("<td>" + f.name.link(f.name) + "</td>");
write("<td align=right>" + file_size_float(f.size, 1, 0) + "</td>");
write("<td align=right>" + strftime("%b %d, %Y", f.time) + "</td>");
write("<td align=right>" + strftime("%b %d, %Y", f.added) + "</td>");
write('<td class="desc" onclick="showExtDesc(event)">');
write(utf8_encode(f.desc || ''));
if (f.extdesc !== undefined) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment