Project

General

Profile

Actions

Bug #26633

closed

l10n issues in UI

Added by John Beranek almost 6 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Foreman has configuration to allow a user to specify their locale, but Katello appears to used fixed (US) format dates.

For example, in a number of places the format used is as below, which is fairly US-centric, due to the use of AM/PM format:

Apr 17, 8:34 AM

When you look at errata for a particular Content Host, it gets worse, as the format becomes:

04/16/2019

This doesn't extend throughout Forman, as for example the Tasks section uses a date/time format like:

2019-04-17 09:58:26 +0100

Actions #1

Updated by Samir Jha almost 6 years ago

Hey John,

Could you please provide the versions of Foreman/katello that you are running?

Thanks!

Actions #2

Updated by Samir Jha almost 6 years ago

  • Assignee set to Jonathon Turel
Actions #3

Updated by John Beranek almost 6 years ago

Samir Jha wrote:

Hey John,

Could you please provide the versions of Foreman/katello that you are running?

katello-3.11.0-1.el7.noarch
foreman-1.21.2-1.el7.noarch

Actions #4

Updated by Jonathon Turel almost 6 years ago

  • Project changed from Katello to Foreman
  • Subject changed from l10n issues in Katello UI to l10n issues in UI
  • Category set to Web Interface
  • Assignee deleted (Jonathon Turel)

I'm moving this issue to the Foreman project as Katello uses React date components provided by Foreman. I think that's where the root cause is.

Actions #5

Updated by Ondřej Pražák almost 6 years ago

  • Project changed from Foreman to foreman-tasks
  • Category deleted (Web Interface)

Moving to foreman-tasks, helpers from core should be used for formatings date/time.

Actions #6

Updated by Adam Ruzicka over 3 years ago

  • Status changed from New to Closed

Tasks should now be using formatters from core. Closing.

Actions

Also available in: Atom PDF