fix chart clean

This commit is contained in:
syuilo 2022-02-06 02:16:52 +09:00 committed by GitHub
parent 80fa92fb97
commit be15c8f437
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -452,8 +452,8 @@ export default abstract class Chart<T extends Schema> {
const current = dateUTC(Chart.getCurrentDate());
// 一日以上前かつ三日以内
const gt = Chart.dateToTimestamp(current) - (1000 * 60 * 60 * 24 * 3);
const lt = Chart.dateToTimestamp(current) - (1000 * 60 * 60 * 24);
const gt = Chart.dateToTimestamp(current) - (60 * 60 * 24 * 3);
const lt = Chart.dateToTimestamp(current) - (60 * 60 * 24);
const columns = {} as Record<string, number>;
for (const [k, v] of Object.entries(this.schema)) {