Bug 1883779 - incorrect display consistently on any upgrade that starts/end in the hour of 12pm
Summary: incorrect display consistently on any upgrade that starts/end in the hour of ...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.5
Hardware: All
OS: All
low
medium
Target Milestone: ---
: 4.7.0
Assignee: ralpert
QA Contact: Yadan Pei
URL:
Whiteboard:
: 1883776 (view as bug list)
Depends On:
Blocks: 1885309
TreeView+ depends on / blocked
 
Reported: 2020-09-30 08:24 UTC by kedar
Modified: 2020-12-14 22:40 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Dates were being displayed incorrectly. I switched our timestamps over to the Moment.js library as part of the recent i18n work, which fixed the issue.
Clone Of:
: 1885309 (view as bug list)
Environment:
Last Closed: 2020-12-14 22:40:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
raw yaml file from dup bugzilla (3.94 KB, text/plain)
2020-09-30 10:31 UTC, Jakub Hadvig
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 6194 0 None closed CONSOLE-2365: i18n support 2021-02-08 19:00:41 UTC

Description kedar 2020-09-30 08:24:18 UTC
Description of problem:
Cluster Settings -> Update History: incorrect display of times near 12:00

Version-Release number of selected component (if applicable):
v4.3 -> 4.4 -> 4.5

The raw data looks correct (oc get clusterversion version -o yaml)

Actual results:


Expected results:


Additional info:
The upgrade is shown as having a duration 12 hours longer than reality, or 12 hours shorter

Incorrect display consistently on any upgrade that starts/end in the hour of 12pm noon

Comment 1 Jakub Hadvig 2020-09-30 10:31:40 UTC
Created attachment 1717824 [details]
raw yaml file from dup bugzilla

Adding yaml file from the duplicate https://bugzilla.redhat.com/show_bug.cgi?id=1883776

Comment 2 Jakub Hadvig 2020-09-30 10:32:19 UTC
*** Bug 1883776 has been marked as a duplicate of this bug. ***

Comment 3 Robb Hamilton 2020-10-02 12:54:00 UTC
Will investigate next sprint.

Comment 4 Robb Hamilton 2020-10-05 15:09:30 UTC
Rebecca's internationalization PR will fix this in master as we're switching to moment.js there.  See https://github.com/openshift/console/pull/6194.

Comment 5 Yanping Zhang 2020-10-14 12:24:53 UTC
Checked on ocp 4.7 cluster with payload 4.7.0-0.ci-2020-10-13-231404
Checked the time shown on cluster, now it use am/pm correctly.
The bug is fixed.


Note You need to log in before you can comment on or make changes to this bug.