mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-26 04:00:18 +01:00
fix chart clean
This commit is contained in:
parent
80fa92fb97
commit
be15c8f437
1 changed files with 2 additions and 2 deletions
|
@ -452,8 +452,8 @@ export default abstract class Chart<T extends Schema> {
|
||||||
const current = dateUTC(Chart.getCurrentDate());
|
const current = dateUTC(Chart.getCurrentDate());
|
||||||
|
|
||||||
// 一日以上前かつ三日以内
|
// 一日以上前かつ三日以内
|
||||||
const gt = Chart.dateToTimestamp(current) - (1000 * 60 * 60 * 24 * 3);
|
const gt = Chart.dateToTimestamp(current) - (60 * 60 * 24 * 3);
|
||||||
const lt = Chart.dateToTimestamp(current) - (1000 * 60 * 60 * 24);
|
const lt = Chart.dateToTimestamp(current) - (60 * 60 * 24);
|
||||||
|
|
||||||
const columns = {} as Record<string, number>;
|
const columns = {} as Record<string, number>;
|
||||||
for (const [k, v] of Object.entries(this.schema)) {
|
for (const [k, v] of Object.entries(this.schema)) {
|
||||||
|
|
Loading…
Reference in a new issue