Skip to content

Internationalize dates within issues

Coung Ngo requested to merge cngo-i18n-dates into master

What does this MR do and why?

Internationalize dates within issues, so dates are formatted based on locale (https://gitlab.slack.com/archives/C05DJ2TLF8U/p1721963653701979)

  • Issue sidebar due date widget
  • Issues page due date
  • Milestone tooltip within issue popover for issue reference in markdown

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

Before with English-GB browser language After with English-GB browser language
Issue sidebar due date widget Screenshot_2024-07-29_at_15-25-43_Voluptatem_vitae_sit_debitis_commodi_totam_illo_similique_tempora_inventore.___1____Issues___Flightjs___Flight_️___GitLab Screenshot_2024-07-29_at_15-34-55_Voluptatem_vitae_sit_debitis_commodi_totam_illo_similique_tempora_inventore.___1____Issues___Flightjs___Flight_️___GitLab
Issues page due date Screenshot_2024-07-29_at_16-13-16_Issues___Flightjs___Flight_️___GitLab Screenshot_2024-07-29_at_16-14-36_Issues___Flightjs___Flight_️___GitLab
Milestone tooltip within issue popover for issue reference in markdown Screenshot_2024-07-29_at_15-57-23_another_task___65____Task___flightjs_Flight Screenshot_2024-07-29_at_16-00-44_another_task___65____Task___flightjs_Flight

How to set up and validate locally

  1. Change your user account language in Preferences, under the section Localization (http://127.0.0.1:3000/-/profile/preferences)
  2. Check issues page due date, issue sidebar due date widget, milestone tooltip within issue popover for issue reference in markdown
Edited by Coung Ngo

Merge request reports

Loading