Skip to content

Commit

Permalink
Added rest api compatibility test for date format in range
Browse files Browse the repository at this point in the history
  • Loading branch information
fulmicoton committed Jul 16, 2024
1 parent 3c7d0e0 commit addd793
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,3 +187,18 @@ expected:
total:
value: 1
relation: "eq"
---
# Timestamp field with a custom format.
json:
query:
range:
created_at:
gte: "2015|02|01 T00:00:00.001999Z"
lte: "2015|02|01 T00:00:00.001999Z"
# Elasticsearch date format requires text to be escaped with single quotes
format: yyyy|MM|dd 'T'HH:mm:ss.SSSSSS'Z'
expected:
hits:
total:
value: 1
relation: "eq"

0 comments on commit addd793

Please sign in to comment.