MCPcopy 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
5const now = Date.UTC(2026, 6, 27, 12, 0, 0);
6const ago = (ms: number): number => now - ms;
7
8const MINUTE = 60_000;
9const HOUR = 60 * MINUTE;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected