Localize dates in epics and roadmaps UI

What does this MR do and why?

Localize dates in epics and roadmaps UI, since we want to show localized dates on the UI

Changelog: fixed

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

Screenshots are with browser locale of en-GB

Before After
Screenshot_2024-10-11_at_16-44-49_Epics_Roadmap___Flightjs___GitLab Screenshot_2024-10-11_at_16-53-18_Epics_Roadmap___Flightjs___GitLab
Screenshot_2024-10-11_at_16-41-57_Epics_Roadmap___Flightjs___GitLab Screenshot_2024-10-11_at_16-53-31_Epics_Roadmap___Flightjs___GitLab
Screenshot_2024-10-11_at_16-45-37_Epics_Roadmap___Flightjs___GitLab Screenshot_2024-10-11_at_16-53-42_Epics_Roadmap___Flightjs___GitLab
Screenshot_2024-10-11_at_16-57-17_Epics_Roadmap___Flightjs___GitLab Screenshot_2024-10-11_at_17-10_09-10-18_Epics_Roadmap___Flightjs___GitLab
Screenshot_2024-10-14_at_14-08-38_Quae_id_aliquid_beatae_voluptate_voluptatibus_possimus_deleniti_earum_corrupti.___1____Epics___Flightjs___GitLab Screenshot_2024-10-14_at_14-09-25_Quae_id_aliquid_beatae_voluptate_voluptatibus_possimus_deleniti_earum_corrupti.___1____Epics___Flightjs___GitLab

How to set up and validate locally

No feature flags

  1. Go to roadmap page, add filter to get empty state, go to Settings and change the timerange http://127.0.0.1:3000/groups/flightjs/-/roadmap
  2. Go to epic page, check the sidebar date widget http://127.0.0.1:3000/groups/flightjs/-/epics/1
Edited by Coung Ngo

Merge request reports

Loading