Ensure timestamp tooltips respect locale
What does this MR do and why?
Ensure timestamp tooltips respect locale
This introduces a new localeDateFormat
formatter: asDateTimeFull
.
That formatter is now utilized in rendering the datetime for the
tooltips.
Fix minor typo in the docs
localDateFormat => localeDateFormat
Screenshots or screen recordings
Locale | Before | After |
---|---|---|
en-US |
||
en-US with forced 24h |
same as above | |
en-GB |
same as above | |
fr |
||
de |
||
zh-CN |
How to set up and validate locally
- Hover any time stamp
- Switch your GitLab language settings and/or the time format
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 Lukas Eipert