Consistently use `mmm dd, yyyy` format for analytics dates
What does this MR do and why?
Consistently use mmm dd, yyyy
format for analytics dates. Converts Value stream, contributor and CI/CD analytics.
Areas that have been updated:
- Total time chart
- Stage time chart
- Contributor analytics charts
- Pipelines date range
- Deployment frequency chart
Areas that have not been updated:
- Pipelines chart was not updated in this MR as the date ranges are generated on the backend. This was separated into a separate issue (#432822)
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Create test project:
FILTER=customizable_cycle_analytics SEED_CUSTOMIZABLE_CYCLE_ANALYTICS=1 bundle exec rake db:seed_fu
- Navigate to the newly created project
-
Analyze > Value stream analytics
- Overview tab: Verify date on X axis and in tooltip
- Any other tab: Verify date on X axis and in tooltip
-
Analyze > Contributor statistics
- Top graph: Verify date in tooltip
- User graphs: Verify date in tooltip
-
Analyze > CI/CD analytics
- Pipelines tab: Verify date range above the chart
- Any other tab: Verify date range above the chart, and the date on the X axis and in tooltip
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 #420815 (closed)
Edited by Alex Pennells