You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 14, 2024. It is now read-only.
// todo: fix how last N days is calculated since this is wrong and doesn't calculate properly due to start/end of months add/subtracting dates doesn't change the current month
// todo: fix how last N days is calculated since this is wrong and doesn't calculate properly due to start/end of months add/subtracting dates doesn't change the current month
105
107
const n = new Date()
106
108
const start = new Date(n.getFullYear(), n.getMonth(), n.getDate() - 29)
107
109
const end = new Date(n.getFullYear(), n.getMonth(), n.getDate() + 1)
0 commit comments