Skip to content
Snippets Groups Projects
Commit c7c537c8 authored by syuilo's avatar syuilo
Browse files

Refactor

parent 4e2f9546
No related branches found
No related tags found
No related merge requests found
......@@ -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 - 1, 'days') :
span == 'hour' ? subtractTimespan(DateUTC([y, m, d, h]), range - 1, '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;
// ログ取得
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment