Make start and end time match Power Video for all searches
- only happens if no start and end time are set during init of the calendar elementdisk-divisor
parent
79a7905a4f
commit
be419be57d
|
|
@ -944,8 +944,8 @@ function getSelectedTime(dateSelector){
|
|||
}
|
||||
function loadDateRangePicker(dateSelector,options){
|
||||
dateSelector.daterangepicker(Object.assign({
|
||||
startDate: moment().utc().subtract(2, 'days'),
|
||||
endDate: moment().utc(),
|
||||
startDate: moment().subtract(moment.duration("24:00:00")),
|
||||
endDate: moment().add(moment.duration("24:00:00")),
|
||||
timePicker: true,
|
||||
locale: {
|
||||
format: 'YYYY/MM/DD hh:mm:ss A'
|
||||
|
|
|
|||
Loading…
Reference in New Issue