Skip to content

Fix: user profile time localization issue

What does this MR do and why?

In the user's profile page, the "Joined since [date]" was not been localized, this would create mixed content for the user using other languages rather than English.

In this MR, I updated the value with the same way application_helper did.

/cc @prajnamas @qk44077907 @orozot

Fix: user profile time localization issue

  • Fix the time rendering without localization

Changelog: fixed

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
CleanShot_2023-06-01_at_16.19.43_2x CleanShot_2023-06-01_at_16.16.47_2x

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  • Pre-request: set your preferred language to any other than English.
  1. Go to your or any users' profile page
  2. Observe the "Joined since" area

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Wu Jeremy

Merge request reports