fix(frontend): for Past 7 Days range, return an exact 7.00 days timeperiod instead of 7.99 days timeperiod (#3024)
This commit is contained in:
parent
c2b84d18b5
commit
f6cd20712d
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ function getRange(rangeName, offset) {
|
|||
);
|
||||
case LAST_7_DAYS:
|
||||
return Interval.fromDateTimes(
|
||||
now.minus({ days: 7 }).startOf("day"),
|
||||
now.minus({ days: 7 }).endOf("day"),
|
||||
now.endOf("day")
|
||||
);
|
||||
case LAST_30_DAYS:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue