mirror of
https://github.com/pi-hole/web.git
synced 2026-04-28 12:44:07 +01:00
Fill daterange field with initialization (now-6d -> now)
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -21,6 +21,7 @@ $(function () {
|
||||
{
|
||||
timePicker: true, timePickerIncrement: 15,
|
||||
locale: { format: "MMMM Do YYYY, HH:mm" },
|
||||
startDate: start__, endDate: end__,
|
||||
ranges: {
|
||||
"Today": [moment().startOf("day"), moment()],
|
||||
"Yesterday": [moment().subtract(1, "days").startOf("day"), moment().subtract(1, "days").endOf("day")],
|
||||
|
||||
Reference in New Issue
Block a user