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

Function utcDay

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

Source from the content-addressed store, hash-verified

77// ---------------------------------------------------------------------------
78
79const utcDay = (atMs: number): string => new Date(atMs).toISOString().slice(0, 10);
80
81/** Rejects the wrong shape and impossible dates alike (`2026-02-31` round-trips as March). */
82function 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