Bug 1948892

Summary: OCP 4.7 console doesn't have the year specified in the `created` tab.
Product: OpenShift Container Platform Reporter: Rahul Rajendran <rpalathi>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED DUPLICATE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.7CC: aos-bugs, ChetRHosey, jokerman, spadgett, yapei
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-16 13:47:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
4.7 console omits year for dates in past
none
4.6 console shows year for dates in prior years
none
4.8 Nodes Created time none

Comment 2 Samuel Padgett 2021-04-16 13:47:10 UTC
This was fixed as part of bug 1862084, which updates how we format dates and times across the console.

*** This bug has been marked as a duplicate of bug 1862084 ***

Comment 3 Chet Hosey 2021-04-19 05:38:24 UTC
Created attachment 1773178 [details]
4.7 console omits year for dates in past

Comment 4 Chet Hosey 2021-04-19 05:39:40 UTC
This isn't reporting that the dates are inconsistent. This is reporting that the dates are *wrong*.

For example, "Feb 15, 7:37 am" would normally imply the current year. This was the case in 4.6; the year is omitted for dates in the current year, and displayed for dates in previous years. However, as of 4.7 the year is always omitted. It's not clear whether a node was created two months ago, or 14 months ago.

The dates seem to be consistently displayed. They're just no longer accurate.

Comment 5 Chet Hosey 2021-04-19 05:40:44 UTC
Created attachment 1773179 [details]
4.6 console shows year for dates in prior years

Comment 6 Yadan Pei 2021-04-20 02:10:33 UTC
(In reply to Chet Hosey from comment #4)
> This isn't reporting that the dates are inconsistent. This is reporting that
> the dates are *wrong*.
> 
> For example, "Feb 15, 7:37 am" would normally imply the current year. This
> was the case in 4.6; the year is omitted for dates in the current year, and
> displayed for dates in previous years. However, as of 4.7 the year is always
> omitted. It's not clear whether a node was created two months ago, or 14
> months ago.
> 
> The dates seem to be consistently displayed. They're just no longer accurate.

Hi Chet, with the fix for bug 1862084, now we use 'Day, Year, Time' format at most places especially for node 'Created' tab, for example Apr 20, 2021, 7:44 AM, 'Year' has been included. In this way, we should show complete date the node has been created. 

Does it address your concern?

Comment 7 Yadan Pei 2021-04-20 02:11:07 UTC
Created attachment 1773601 [details]
4.8 Nodes Created time