mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Updating default date picker range to be previous 24hr (#28127)
* Setting default absolute range of RangeDatePicker component to be previous 24hrs * Adding comment per PR feedback
This commit is contained in:
parent
bc8013e81a
commit
ed1987a012
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ export const initialInputsState: InputsState = {
|
|||
timerange: {
|
||||
kind: 'absolute',
|
||||
from: moment()
|
||||
.subtract(1, 'hour')
|
||||
.subtract(1, 'day') // subtracts 24 hours from 'now'
|
||||
.valueOf(),
|
||||
to: moment().valueOf(),
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue