MCPcopy Index your code
hub / github.com/github/awesome-copilot / parseDateToMs

Function parseDateToMs

extensions/backlog-swipe-triage/extension.mjs:106–109  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

104}
105
106function parseDateToMs(value) {
107 const timestamp = Date.parse(value || "");
108 return Number.isFinite(timestamp) ? timestamp : 0;
109}
110
111function getTimeWindowMs(timeWindow) {
112 if (timeWindow === "1d") return 1 * 24 * 60 * 60 * 1000;

Callers 2

issueMatchesFiltersFunction · 0.85
sortIssuesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected