Fetching statements with the use of pipeline and curl, usually all good unless it is timestamp field. I've seen examples of how to query by timestamp on Learning Locker but it does not work for me.
$pipeline = '[
{"$project": {"statement": 1}},
{"$match": {"$and":
[
{"timestamp" : {"$gte": {"$dte": "2019-01-01T00:00:00.000Z"}}}
]}
}
]';
need to fetch all statements with timestamp $gte 2019.01.01 (later will do from 2019-01-01 to 2019-08-01
on fetch it will show like string "timestamp" => "2019-02-06T11:20:34+02:00"