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

Function today

src/renderer/composables/useDonations.ts:21–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19)
20
21function today() {
22 return format(new Date(), 'yyyy-MM-dd')
23}
24
25function dayDiff(a: string, b: string) {
26 const ms = new Date(b).getTime() - new Date(a).getTime()

Callers 2

showToastFunction · 0.85
markActiveDayFunction · 0.85

Calls 1

formatFunction · 0.85

Tested by

no test coverage detected