Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/UsefulSoftwareCo/executor
/ ago
Function
ago
packages/react/src/lib/relative-time.test.ts:6–6 ·
view source on GitHub ↗
(ms: number)
Source
from the content-addressed store, hash-verified
4
5
const
now = Date.UTC(2026, 6, 27, 12, 0, 0);
6
const
ago = (ms: number): number => now - ms;
7
8
const
MINUTE = 60_000;
9
const
HOUR = 60 * MINUTE;
Callers
1
relative-time.test.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected