MCPcopy
hub / github.com/vonzosten/awesome-LangGraph / subtractMonths

Function subtractMonths

scripts/repo-checks.mjs:10–14  ·  view source on GitHub ↗
(date, months)

Source from the content-addressed store, hash-verified

8const GITHUB_TOKEN = process.env.GITHUB_TOKEN || process.env.GH_TOKEN || '';
9
10function subtractMonths(date, months) {
11 const next = new Date(date);
12 next.setUTCMonth(next.getUTCMonth() - months);
13 return next;
14}
15
16function normalizeRepo(owner, repo) {
17 return {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected