Create a policy with a time span or evaluation time, and using operators '<=" or '>', not working properly #846
Labels
kind/bug
Something isn't working. The software does not behave as expected or specified.
Description - What happened? *
When using the "less than" policy with a time restriction, for example, < 24/09/2024, the tooltip currently displays 2024-09-24T21:00:00.000Z, which is an ISO timestamp. However, since we are applying a "less than" restriction, the tooltip should display the beginning of the day, not the end. In my opinion, it should show 2024-09-23T21:00:00.000Z instead.
As previously mentioned in the earlier comments, the issue regarding the operators < and > within the policy time span restrictions is not fully resolved. After retesting, we have found that the fix is still not working as expected in certain scenarios.
Attached is a screenshot showing the failing scenarios, which are as follows:
"Less than today" scenario - The data offer is still being displayed when it should not be visible.
"Higher than today" scenario - Similarly, the data offer is being displayed when it shouldn't, as the policy dictates that it should not be visible.
Expected Behavior *
stated above
Observed Behavior *
stated above
Steps to Reproduce
No response
Context Information
No response
Relevant log output
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: