We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 421b928 commit c299619Copy full SHA for c299619
1 file changed
src/hooks/usePantry.ts
@@ -154,7 +154,7 @@ export default function usePantry() {
154
const neglected = () => {
155
const stat = Deno.statSync(prefix.string)
156
if (!stat.mtime) return true
157
- return (Date.now() - stat.mtime.getMilliseconds()) > 24 * 60 * 60 * 1000
+ return (Date.now() - stat.mtime.getTime()) > 24 * 60 * 60 * 1000
158
}
159
160
return {
0 commit comments