other_dates.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. [
  2. {
  3. "desc": "test date format with other name",
  4. "query": "timestamp:>2015-05-18",
  5. "result": [
  6. {"type": "spaces", "value": ""},
  7. {
  8. "type": "filter",
  9. "filter": "date",
  10. "negated": false,
  11. "key": {"type": "keySimple", "value": "timestamp", "quoted": false},
  12. "operator": ">",
  13. "value": {"type": "valueIso8601Date", "value": "2015-05-18T00:00:00.000Z"}
  14. },
  15. {"type": "spaces", "value": ""}
  16. ]
  17. },
  18. {
  19. "query": "timestamp.to_hour:>2018-01-01T05:06:07+00:00",
  20. "result": [
  21. {"type": "spaces", "value": ""},
  22. {
  23. "type": "filter",
  24. "filter": "date",
  25. "negated": false,
  26. "key": {"type": "keySimple", "value": "timestamp.to_hour", "quoted": false},
  27. "operator": ">",
  28. "value": {"type": "valueIso8601Date", "value": "2018-01-01T05:06:07.000Z"}
  29. },
  30. {"type": "spaces", "value": ""}
  31. ]
  32. },
  33. {
  34. "query": "random:>2015-05-18",
  35. "result": [
  36. {"type": "spaces", "value": ""},
  37. {
  38. "type": "filter",
  39. "filter": "text",
  40. "negated": false,
  41. "key": {"type": "keySimple", "value": "random", "quoted": false},
  42. "operator": "",
  43. "value": {"type": "valueText", "value": ">2015-05-18", "quoted": false}
  44. },
  45. {"type": "spaces", "value": ""}
  46. ]
  47. }
  48. ]