Skip to content

Commit 1470702

Browse files
committed
update "new" threshhold to 7 days
1 parent 97df966 commit 1470702

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/assets/scripts/home.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ try {
509509
const uploaded = game.uploadedTimestamp;
510510
const updated = game.updatedTimestamp;
511511
const now = Date.now();
512-
const threshold = 1000 * 60 * 60 * 24 * 2; // 2 days
512+
const threshold = 1000 * 60 * 60 * 24 * 7; // 7 days
513513
if (uploaded && updated) {
514514
if (now - uploaded < threshold) {
515515
card.classList.add("new");

0 commit comments

Comments
 (0)