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

Function utcDay

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

Source from the content-addressed store, hash-verified

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

Callers 6

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

Calls

no outgoing calls

Tested by

no test coverage detected