MCPcopy Create free account
hub / github.com/massCodeIO/massCode / dayDiff

Function dayDiff

src/renderer/composables/useDonations.ts:25–28  ·  view source on GitHub ↗
(a: string, b: string)

Source from the content-addressed store, hash-verified

23}
24
25function dayDiff(a: string, b: string) {
26 const ms = new Date(b).getTime() - new Date(a).getTime()
27 return Math.round(ms / (1000 * 60 * 60 * 24))
28}
29
30function incrementCopy(space: CopySpace) {
31 state.copies[space] += 1

Callers 1

markActiveDayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected