mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Specify format for date range query (#81025)
This commit is contained in:
parent
35e21dbf37
commit
39242f11f7
2 changed files with 4 additions and 0 deletions
|
@ -1112,6 +1112,7 @@ describe('get_filter', () => {
|
|||
'@timestamp': {
|
||||
gte: 'now-5m',
|
||||
lte: 'now',
|
||||
format: 'strict_date_optional_time',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -1148,6 +1149,7 @@ describe('get_filter', () => {
|
|||
'event.ingested': {
|
||||
gte: 'now-5m',
|
||||
lte: 'now',
|
||||
format: 'strict_date_optional_time',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -1183,6 +1185,7 @@ describe('get_filter', () => {
|
|||
'@timestamp': {
|
||||
gte: 'now-5m',
|
||||
lte: 'now',
|
||||
format: 'strict_date_optional_time',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -117,6 +117,7 @@ export const buildEqlSearchRequest = (
|
|||
[timestamp]: {
|
||||
gte: from,
|
||||
lte: to,
|
||||
format: 'strict_date_optional_time',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue