Skip to content

Localize dates in UI

Coung Ngo requested to merge cngo-localize-dates-2 into master

What does this MR do and why?

Localize dates as recommended by our design docs https://design.gitlab.com/content/date-and-time

Changelog: changed

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before (with en-GB locale) After (with en-GB locale)
Epic swimlane title popover http://127.0.0.1:3000/groups/flightjs/-/boards?group_by=epic Screenshot_2024-09-19_at_2.38.08_PM Screenshot_2024-09-19_at_2.39.29_PM
Epic with child issue http://127.0.0.1:3000/groups/flightjs/-/epic/1 Screenshot_2024-09-19_at_2.47.50_PM Screenshot_2024-09-19_at_2.48.34_PM
Create Objective with child item objectives with progress (create one from http://127.0.0.1:3000/flightjs/Flight/-/issues/) Screenshot_2024-09-19_at_2.55.39_PM Screenshot_2024-09-19_at_2.56.09_PM
Create Objective with child item objectives with progress (create one from http://127.0.0.1:3000/flightjs/Flight/-/issues/) Screenshot_2024-09-19_at_2.57.02_PM Screenshot_2024-09-19_at_2.57.38_PM

How to set up and validate locally

  1. Change your timezone to something like Sacramento-California UTC-8, and browser locale to en-GB
  2. Enable feature flag okrs_mvc
  3. Check the urls above
Edited by Coung Ngo

Merge request reports

Loading