mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-14 21:26:08 +01:00
feat: extracted renderer from /stats
This commit is contained in:
1 parent
bcbc1e259f
commit
752f9b339b
21 files changed
+329
-273
No files matched your search
@@ -7,6 +7,6 @@ export default function getPeriodStart(period: Exclude<Period, 'custom'>) {
|
||||
} else if (period === 'today') {
|
||||
return getTimeDaysAgo(0);
|
||||
} else {
|
||||
return getTimeDaysAgo(Number(period));
|
||||
return getTimeDaysAgo(parseInt(period));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user