adjust "top" window

This commit is contained in:
Devin Zuczek
2026-08-05 15:49:59 -04:00
parent bc96a6245b
commit f6561f1ec9
4 changed files with 28 additions and 20 deletions
@@ -65,7 +65,7 @@ export async function ownsInvention(
/**
* How many times each invention was acquired at or after `since`, most-acquired first
* (ties broken by newest invention, so paging is stable). Backs the `api` worker's "top
* today" feed, which passes the start of the current UTC day.
* today" feed, which passes 24 hours ago.
*
* `acquired_at` holds `toISOString()` output, which is fixed-width UTC, so a lexical
* `>=` on the string is a chronological comparison — no date parsing in SQL.