mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
Fix date ranges in datarangepicker (#1940)
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user