-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
1
-
Severity 3 - Minor
-
-
Warranty
Issue Summary
Date compare validator error for Custom fields with Date Time picker failing comparison with or without Include time part option enabled
Steps to Reproduce
- On a workflow transition add a Date Compare Validator
- Select a Date time custom field a condition great ">" or great equal ">=" to an expression like now or >= 1d
Expected Results
When the transition is triggered the validator respects the time and expression configured.
Actual Results
The date and time are not respected with several hours of difference, with or without the Include time part option enabled.
With the Include time part option enabled, it should respect a 24h difference, considering the hours the transition is triggered and the user timezone.
With the Include time part option disabled, it should respect the start of the next date 00:00:00, considering the date the transition is triggered and the user timezone.
Workaround
The user in this case can use a date type custom field, so the start of day will be considered in the comparison.