mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
Fix inital date/time
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -34,8 +34,8 @@ function initDateRangePicker() {
|
||||
timePickerIncrement: 5,
|
||||
timePicker24Hour: true,
|
||||
locale: { format: dateformat },
|
||||
startDate: moment(from * 1000),
|
||||
endDate: moment(until * 1000),
|
||||
startDate: moment(from),
|
||||
endDate: moment(until),
|
||||
ranges: {
|
||||
"Last 10 Minutes": [moment().subtract(10, "minutes"), moment()],
|
||||
"Last Hour": [moment().subtract(1, "hours"), moment()],
|
||||
|
||||
Reference in New Issue
Block a user