-
Type:
Suggestion
-
Resolution: Won't Do
NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.
The <= operator in the Advanced Search does not yield the correct result in Issue Navigator
Steps to reproduce
- An issue was resolved on the date 2012-08-10 16:31
- The following query is used to search for the issue:
resolutiondate >= '2012-08-06' and resolutiondate <= '2012-08-10'
- The issue is not displayed on Issue Navigator
- However, using the following query works fine:
resolutiondate >= '2012-08-06' and resolutiondate <= '2012-08-10 22:00'
- It shows that the <= operator is not working properly
Cause
The reason this occurs is because simply defining a date is interpreted as midnight that day. For example:
- '2012-08-10' actually means '2012-08-10 00:00'
This means that anything that occurs on 2012-08-10 is automatically after 12am that day.
- is related to
-
JRASERVER-29330 Make date <= comparison compare right up to the end of the day
- Closed