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 |
---|---|
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.
- Go to your or any users' profile page
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Wu Jeremy