Description of problem: [en_US] The tooltips of Created date time is not easy to read in column of table list. Version-Release number of selected component (if applicable): 4.7.0-fc.2 How reproducible: 100% Steps to Reproduce: 1. Login OCP management console. 2. Click Home -> Projects or Workloads -> Pods and etc. 3. Check the tooltips of date/time of Created column. Actual results: The tooltips of Created date time is not easy to read in column of table list. Expected results: The tooltips of created date/time should be easy to read and no code base. Additional info: Please see the attached screen-shot.
Created attachment 1748362 [details] [en_US] The tooltips of Created date time is not easy to read in column of table list
Based on the current this doesnt seems as a i18n BZ. Although there was a pretty big commit addressed thats also changing `timestamp.tsx` https://github.com/openshift/console/commit/5464e1058c275f95a29688fbe2f5c192de0f78b7 The issue I see it, is in: https://github.com/openshift/console/blob/master/frontend/public/components/utils/timestamp.tsx#L57 where we are converting the given date object’s contents into a string in ISO format aka. "easy to read format". Rebecca could you please take a look, if this really is an i18n issue. Thanks
Just a quick note that this isn't related to any i18n changes. The tooltip shows the raw UTC date by design. We can look at it as a usability bug. We have had requests to have the date available as UTC: https://github.com/openshift/console/issues/1436
Removing i18n and Translation keywords since this predates both.
Hi @lijli - I brought this up with the UX team since we're now looking at this as a usability bug. Was your concern about readability related to the font, color, etc.? Or was it based on the unexpected UTC content? Thanks!
I notice that the Console's tooltip font size is only 13px compared to PatternFly's 14px. If the legibility of the white text itself on its black background is the problem, increasing the font size couldn't hurt! I see we're overriding PatternFly's default `14px` of `--pf-global--FontSize--sm` to be `13px` at the root level in our _vars.scss file. I'm sure there's a reason for that, but maybe we should reevaluate and see what happens if we switch to `14px` Console-wide.
I believe the issue is that we're showing a raw UTC date instead of a formatted date. Lijun, let me know if I'm wrong.
Hey @lijli - Would you be able to give us more info on what you're expecting? Thanks.
(In reply to ralpert from comment #9) > Hey @lijli - Would you be able to give us more info on what > you're expecting? Thanks. Hi Rebecca, sorry reply late, I'm not concern about the font/color for the tooltips of date, and as Samuel said, please use the formatted date/time but not the raw UTC date in the tooltips. Thanks, Robert
Tested on ocp 4.8 cluster with payload 4.8.0-0.nightly-2021-02-24-063313. On console, check tooltips of created time on pods page, the UTC time is formatted now. The bug is fixed.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:2438