From 2ead75a8c818ee7aafe09a5964c7959fc2ae91ab Mon Sep 17 00:00:00 2001 From: "Brennan Wilkes (Text Groove)" Date: Sat, 24 Jan 2026 12:34:11 -0800 Subject: [PATCH] fix: 24 hours --- viz/app/search_page.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/viz/app/search_page.js b/viz/app/search_page.js index c195236..2e64ce9 100644 --- a/viz/app/search_page.js +++ b/viz/app/search_page.js @@ -253,9 +253,8 @@ export function renderSearch($app) { const canon = typeof canonicalSkuFn === "function" ? canonicalSkuFn : (x) => x; - // Filter to last 3 days (was 24 hours) const nowMs = Date.now(); - const cutoffMs = nowMs - 3 * 24 * 60 * 60 * 1000; + const cutoffMs = nowMs - 24 * 60 * 60 * 1000; function eventMs(r) { const t = String(r?.ts || ""); @@ -329,7 +328,7 @@ export function renderSearch($app) { const limited = ranked.slice(0, 140); $results.innerHTML = - `
Recently changed (last 3 days):
` + + `
Recently changed (last 24 hours):
` + limited .map(({ r, meta }) => { const kindLabel =