12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- [
- {
- "desc": "test date format",
- "query": "timestamp:>2015-05-18",
- "result": [
- {"type": "spaces", "value": ""},
- {
- "type": "filter",
- "filter": "date",
- "negated": false,
- "key": {"type": "keySimple", "value": "timestamp", "quoted": false},
- "operator": ">",
- "value": {
- "type": "valueIso8601Date",
- "value": "2015-05-18",
- "parsed": {"value": "2015-05-18T00:00:00.000Z"}
- }
- },
- {"type": "spaces", "value": ""}
- ]
- },
- {
- "desc": "test date time format",
- "query": "timestamp:>2015-05-18T10:15:01",
- "result": [
- {"type": "spaces", "value": ""},
- {
- "type": "filter",
- "filter": "date",
- "negated": false,
- "key": {"type": "keySimple", "value": "timestamp", "quoted": false},
- "operator": ">",
- "value": {
- "type": "valueIso8601Date",
- "value": "2015-05-18T10:15:01",
- "parsed": {"value": "2015-05-18T10:15:01.000Z"}
- }
- },
- {"type": "spaces", "value": ""}
- ]
- },
- {
- "desc": "test date time format w microseconds",
- "query": "timestamp:>2015-05-18T10:15:01.103",
- "result": [
- {"type": "spaces", "value": ""},
- {
- "type": "filter",
- "filter": "date",
- "negated": false,
- "key": {"type": "keySimple", "value": "timestamp", "quoted": false},
- "operator": ">",
- "value": {
- "type": "valueIso8601Date",
- "value": "2015-05-18T10:15:01.103",
- "parsed": {"value": "2015-05-18T10:15:01.103Z"}
- }
- },
- {"type": "spaces", "value": ""}
- ]
- },
- {
- "desc": "test date time format w microseconds and utc marker",
- "query": "timestamp:>2015-05-18T10:15:01.103Z",
- "result": [
- {"type": "spaces", "value": ""},
- {
- "type": "filter",
- "filter": "date",
- "negated": false,
- "key": {"type": "keySimple", "value": "timestamp", "quoted": false},
- "operator": ">",
- "value": {
- "type": "valueIso8601Date",
- "value": "2015-05-18T10:15:01.103Z",
- "parsed": {"value": "2015-05-18T10:15:01.103Z"}
- }
- },
- {"type": "spaces", "value": ""}
- ]
- }
- ]
|