Skip to content

Commit 4347ba8

Browse files
Merge pull request #845 from klensy/fix-time
fix time diff
2 parents 1b4bf4a + 2c81d90 commit 4347ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/static/status.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
let end = new Date(data.most_recent_end * 1000);
119119
element.innerHTML = `No current collection in progress. Last one
120120
finished at ${end.toLocaleString()} local time,
121-
${format_duration(Math.trunc((new Date()/1000 - end)))} ago.`;
121+
${format_duration(Math.trunc((new Date() - end)/1000))} ago.`;
122122
} else {
123123
element.innerHTML = "No current collection in progress.";
124124
}

0 commit comments

Comments
 (0)