Fix the date filter on the global time tracking report
requested to merge gitlab-community/gitlab:422151-fix-date-filter-on-global-time-tracking-report into master
What does this MR do and why?
When users select the same day in From
and To
date pickers on the global time tracking report page, the filter returns results for the previous day (issue #422151)
This MR:
- fixes it in order to return the data for the selected day
- updates the labels of the date pickers to
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Navigate to Navigate to
http://{local-instance}/-/timelogs
- Run report for
2023-08-16
by selecting this day inFrom
andTo
date pickers - Review the dates of the results - it contains records from
2023-08-15
instead of2023-08-16
- Apply changes made in this MR or switch to the branch
422151-fix-date-filter-on-global-time-tracking-report
- Run report for
2023-08-16
by selecting this day inFrom the end of
andTo the end of
date pickers - Review the dates of the results - it should contain records for
2023-08-16
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #422151 (closed)
Edited by Oksana Kohuch