Issue Activity displays the wrong time when logging with the time tracking tool
Summary
There is a bug with the time tracking on issues when logging time of a past date with the time tracking tool. It could be relevant that the time zone is set to UTC+1. I did not test other time zones.
Steps to reproduce
- (Probably) Go to user profile settings and set time zone to
UTC+1 - Open an issue and add a time entry with the time tracking tool on the right sidebar
- Select a past date when adding the time
- The Issue Activity will now display the wrong date (one day before)
Example Project
What is the current bug behavior?
The Issue Activity displays the wrong date (one day before)
What is the expected correct behavior?
There Issue Activity displays the correct date.
Also there should be no difference between logging time with a comment and logging time with the time tracking tool on the right sidebar.
Relevant logs and/or screenshots
The first time was logged with the time tracking tool on the right sidebar, the second time was logged with a comment (/spent 30m 2023-02-22).
Results to:
Output of checks
This bug happens on GitLab.com
Workarounds
- Utilize the quick action to add the time spent instead of the time tracking widget. e.g.
/spend 30m 2024-10-02
Edited by Nilanka De Silva

