Fix date ranges in datarangepicker (#1940)

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
yubiuser
2021-10-25 18:49:49 +02:00
committed by GitHub
parent 01191c7a1b
commit b4780e4a7f
3 changed files with 6 additions and 6 deletions

View File

@@ -30,8 +30,8 @@ $(function () {
moment().subtract(1, "days").startOf("day"),
moment().subtract(1, "days").endOf("day"),
],
"Last 7 Days": [moment().subtract(6, "days"), moment()],
"Last 30 Days": [moment().subtract(29, "days"), moment()],
"Last 7 Days": [moment().subtract(7, "days"), moment()],
"Last 30 Days": [moment().subtract(30, "days"), moment()],
"This Month": [moment().startOf("month"), moment()],
"Last Month": [
moment().subtract(1, "month").startOf("month"),