Merge branch 'develop' of https://github.com/syuilo/misskey into develop

This commit is contained in:
syuilo 2020-03-07 00:29:27 +09:00
commit abb0184329

View file

@ -382,8 +382,8 @@ export default abstract class Chart<T extends Record<string, any>> {
const [y, m, d, h] = this.getCurrentDate();
const gt =
span == 'day' ? subtractTimespan(DateUTC([y, m, d]), range, 'days') :
span == 'hour' ? subtractTimespan(DateUTC([y, m, d, h]), range, 'hours') :
span == 'day' ? subtractTimespan(DateUTC([y, m, d]), range - 1, 'days') :
span == 'hour' ? subtractTimespan(DateUTC([y, m, d, h]), range - 1, 'hours') :
null as never;
// ログ取得