Skip to content

Commit 3ea004f

Browse files
committed
fix incorrect file timestamp
1 parent 1e783f2 commit 3ea004f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/js/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ function loadItems() {
317317

318318
template.find('.square').append(image);
319319
template.find('.item_name').text(item.name);
320-
template.find('time').text((new Date(item.time)).toLocaleString());
320+
template.find('time').text((new Date(item.time * 1000)).toLocaleString());
321321

322322
$('#content').append(template);
323323
});

0 commit comments

Comments
 (0)