MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / daysAgo

Function daysAgo

test/maintain-loop-e2e.test.ts:42–42  ·  view source on GitHub ↗
(d: number)

Source from the content-addressed store, hash-verified

40 const RECEIPT = (o: object) => '\n```qodex-receipt\n' + JSON.stringify(o) + '\n```\n';
41 const NOW = Date.parse('2026-07-01T12:00:00Z');
42 const daysAgo = (d: number) => new Date(NOW - d * 86_400_000).toISOString();
43
44 it('drives receipts → MaintainRun → analytics → dashboard, coherently', () => {
45 const emitted: { scope: string; output: string; at: string }[] = [

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected