MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / utcDay

Function utcDay

telemetry-dashboard/src/api.ts:67–67  ·  view source on GitHub ↗
(atMs: number)

Source from the content-addressed store, hash-verified

65// ---------------------------------------------------------------------------
66
67const utcDay = (atMs: number): string => new Date(atMs).toISOString().slice(0, 10);
68
69/** Rejects the wrong shape and impossible dates alike (`2026-02-31` round-trips as March). */
70function isValidDay(day: string): boolean {

Callers 5

isValidDayFunction · 0.70
addDaysFunction · 0.70
parseRangeFunction · 0.70
activationFunction · 0.70
retentionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected