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
Steps to Reproduce:
1.Create test sync plan
2.Registered some Cont Hosts on different days
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
should be same as 6.5
Will attach screen captures.
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.
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:
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).
Omkar Khatavkar found this commit from 2017
Fixes #21045 - React components for formatting dates