mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-15 09:15:44 +01:00
チャートログの取得範囲の修正 (#5923)
This commit is contained in:
parent
65503bc68d
commit
99384b4c22
1 changed files with 2 additions and 2 deletions
|
@ -382,8 +382,8 @@ export default abstract class Chart<T extends Record<string, any>> {
|
||||||
const [y, m, d, h] = this.getCurrentDate();
|
const [y, m, d, h] = this.getCurrentDate();
|
||||||
|
|
||||||
const gt =
|
const gt =
|
||||||
span == 'day' ? subtractTimespan(DateUTC([y, m, d]), range, 'days') :
|
span == 'day' ? subtractTimespan(DateUTC([y, m, d]), range - 1, 'days') :
|
||||||
span == 'hour' ? subtractTimespan(DateUTC([y, m, d, h]), range, 'hours') :
|
span == 'hour' ? subtractTimespan(DateUTC([y, m, d, h]), range - 1, 'hours') :
|
||||||
null as never;
|
null as never;
|
||||||
|
|
||||||
// ログ取得
|
// ログ取得
|
||||||
|
|
Loading…
Reference in a new issue