P.S. Exactly the same query but with 2019 …
{
q(func:type(Hours)) @filter(gt(hours.tracked,2019-01-01)){
hours.tracked
}
}
Returns
{
"data": {
"q": [
{
"hours.tracked": "2019-10-17T00:00:00Z"
},
{
"hours.tracked": "2019-08-15T00:00:00Z"
},
{
"hours.tracked": "2019-10-24T00:00:00Z"
} ...
So it works for values less than 2020! As I said, weird. It’s taken me all day so far to get it down to that call. I have exported and then re-imported the data just in case it was an indexing issue. But that hasn’t helped.
And - I’ve tried quoted and unquoted dates.
And … the 2019 list stops at the end of 2019, so even though it’s picked up all the 2019 entries, none of the 2020 ones appear at the end of the list, even though they’re greater than 2019-01-01,