Bug 2097319
| Summary: | Page refresh is required to change the Date & time into selected language. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Krishna Babu K <kkrothap> | ||||
| Component: | Management Console | Assignee: | Andrew Ballantyne <aballant> | ||||
| Status: | CLOSED DEFERRED | QA Contact: | Yadan Pei <yapei> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 4.11 | CC: | kkrothap, oarribas | ||||
| Target Milestone: | --- | Keywords: | i18n | ||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2022-06-22 16:37:19 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: |
|
||||||
The issue behind thie bug is the way we setup the date/time translations. It currently pulls them once at the first usage and then never updates it again. this is a side-effect of the way JavaScript modules work. The work to solve this bug would require us to refactor the structure of the code. But the effort behind https://issues.redhat.com/browse/CONSOLE-2765 will require the refactoring of the code some more to support a user preference setting. Since the effort is double fold to refactoring, it was concluded that we would roll this bug up into that feature and support user preferences around date/time as well as address this bug around stale language date/time values. See https://issues.redhat.com/browse/CONSOLE-2765 for the progress behind this bug. |
Created attachment 1890297 [details] Date & time not in selected locale by default. Description of problem: Date & time by default appearing as per en_US locale instead of selected locale of the User. Only after refreshing the page, the date & time appears as per locale of the User. Version-Release number of selected component (if applicable): 4.11.0-0.nightly-2022-06-14-172335 How reproducible: Always Steps to Reproduce: 1. Set language for User (for e.g. Korean) 2. Date & time on Overview page is appearing in English by default 3. After refreshing the page, the Date & time appeared as per User's language. Actual results: Page refresh is required to change the Date & time into selected language Expected results: Date & time should appear in selected language by default. Additional info: Screencast reference attached