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

Function utcDay

telemetry-dashboard/scripts/render-check.mjs:307–307  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

305 const { PANELS } = await import(pathToFileURL(join(root, 'public', 'panels.js')).href);
306 const { shortDay } = await import(pathToFileURL(join(root, 'public', 'theme.js')).href);
307 const utcDay = (ms) => new Date(ms).toISOString().slice(0, 10);
308 const today = utcDay(Date.now());
309 check(`all ${PANELS.length} panels are on the page`, view.panels.length === PANELS.length, `got ${view.panels.length}`);
310 // The fixture lives in July, so a range ending today has nothing in it: every

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected