MCPcopy Create free account
hub / github.com/dailydotdev/apps / getPatchyDayKey

Function getPatchyDayKey

packages/shared/src/features/patchy/patchyDay.ts:20–21  ·  view source on GitHub ↗
(now: Date)

Source from the content-addressed store, hash-verified

18}
19
20export const getPatchyDayKey = (now: Date): string =>
21 `${now.getFullYear()}-${now.getMonth() + 1}-${now.getDate()}`;
22
23export const createPatchyDay = (now: Date): PatchyDay => ({
24 day: getPatchyDayKey(now),

Callers 3

createPatchyOfferMemoryFunction · 0.90
createPatchyDayFunction · 0.85
addPatchyActivityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected