Here is a module retrieving a date (ValidUntil) from a data store:
This is an example of data it returns:
[
{
"ValidUntil": "2024-12-31T08:44:00.000Z",
"UserID": "userBalin"
}
]
The date is a real date.
I am checking this date downstream in a router filter:
But this condition is never true. Today is May 12th 2024 and ValidUntil is Dec 31st 2024 which to me is āgreater thanā today. But the filter does not let the data thru.
The filter is using the ātimeā āgreater thanā operator.
What am I doing wrong?