VSA Total time + Stage time popover show incorrect dates
Background
From this discussion raised by @lvanc :
One thing that I noticed (which seems like a bug) it that the date on the popover is not the same as what is seen in the X-axis. See screenshot:
Screenshots
| Melbourne, Australia | Honolulu, Hawaii |
|---|---|
![]() |
![]() |
Steps to reproduce
- Set your computer's timezone to Melbourne, Australia (UTC+10)
- Navigate to https://gitlab-org.gitlab.io/gitlab/storybook/?path=/docs/ee-analytics-cycle-analytics-components-overview-chart--docs
- Hover over a date, observe the date in the popover
- Set your timezone to Honolulu, Hawaii (UTC-10 - usually ~20hrs difference to melbourne)
- Refresh storybook and hover over the same date https://gitlab-org.gitlab.io/gitlab/storybook/?path=/docs/ee-analytics-cycle-analytics-components-overview-chart--docs
Possible solution
- The tooltip should reflect the same date that appears in the X-Axis (looks like UTC)
- Update the Total time chart
- Update the Stage time chart
Edited by 🤖 GitLab Bot 🤖

