Bug 1729189 - Date format changed from ISO 8601 to USA format
Summary: Date format changed from ISO 8601 to USA format
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Localization and Internationalization
Version: 6.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: QE Internationalization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-11 14:15 UTC by Stephen Wadeley
Modified: 2020-02-16 13:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

Description Stephen Wadeley 2019-07-11 14:15:29 UTC
Description of problem:


On Sync Plan page, Content Host page, and Overview page, the format of the date has unexpectedly changed from ISO 8601 to USA format.


Version-Release number of selected component (if applicable):
latest snap of 6.6

[vagrant@sat-6-6-qa-rhel7 ~]$ rpm -q foreman
foreman-1.22.0.2-1.el7sat.noarch

How reproducible:


Steps to Reproduce:
1.Create test sync plan
2.Registered some Cont Hosts on different days


Actual results:

from Overview page:
 latest 6.6. snap:  Generated at Jul 11, 7:51 AM
 6.5.1:  Generated at 11 Jul 09:02

from Sync Plan page:
latest 6.6. snap:   July 10, 2019, 8:21 PM
6.5.1:  2019/07/09 09:12:00 +0100 

from Content Hosts page
Jul 08, 5:14 PM
Jul 05, 10:39 AM

Expected results:
should be same as 6.5


Additional info:

Will attach screen captures.

Comment 7 Marek Hulan 2019-07-13 22:36:46 UTC
Why is this considered a bug? I don't know which version it was, where we unified all dates to single format, but unless it's inconsistent, then it may actually be desired.

Comment 8 Stephen Wadeley 2019-07-15 08:20:22 UTC
Hello Marek

This unexpected change caused QE test automation to fail. As component owners are supposed to know about changes, its either a bug in the product or a bug in the process. So I did some searching and contacted devs known to work on Sync Plans. I only found this:

https://github.com/Katello/katello/pull/8079#issue-270678158


I admit to being biased, having used ISO dates for many decades, I did not search further once I found that suggestion that a move to ISO dates was anticipated. jturel and sjha, who both worked on Sync Plan related code recently, are not aware that this change was intentional. If you can find some evidence the change is intentional for USA customers, then that still leaves the issue of the dates being USA style when you change Satellite account Language setting to English(United Kindom).

Thank you

Comment 9 Stephen Wadeley 2019-07-22 07:16:05 UTC
Hello

Omkar Khatavkar found this commit from 2017

 Fixes #21045 - React components for formatting dates 
https://github.com/Katello/katello/commit/c9ad1a640dca56531a592f026e5d1f9d2a686106#diff-d75d6d155e8a47566271ee84888b66caR141


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