Feature #19047
closed
Unify the way how we display dates
Added by Marek Hulán over 7 years ago.
Updated over 6 years ago.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1435973
When checking last report in `/config_reports?search=eventful+%3D+true` the column "Last report" it only shows the time since this config run was execueted. If multiple runs are made in a given time it's very difficult to understand which one belongs to which run.
To figure out which run was made at which time, one needs to select the report to get this information. It would be therefore nice to report actual time/date of the `puppet` run instead of "ago". So having an option to set "Last Report" to "Reported at" which then would give time and date, would be appreciated.
When multiple runs are done in short or also when something is happening on a host it's difficult to quickly elect the right report in the UI. Having real time and date it's easier to understand when a `puppet` run happen and therefore find quickly the right report to check.
Having "Last Report" reporting the real time instead of the time that elaps since the last `puppet` run would ease that task and avoid lot's of unecessary clicking in the UI
We should either provide time/date in "Last Report" by default or provide a switch where the functionality can be enabled globally. Meanding for all kind of report that are showing this behavior.
"Last Report" should show "2017-03-22 07:19:37 UTC" or similar instead of "4 days ago"
- Subject changed from Show actual date and not time since report in Config Report
to Show actual date and not time since report in Config Report
- Category changed from Statistics to Reporting
- Target version set to 115
- Status changed from New to Ready For Testing
- Assignee set to Marek Hulán
- Pull request https://github.com/theforeman/foreman/pull/4419 added
- Pull request https://github.com/theforeman/foreman/pull/4820 added
- Pull request deleted (
https://github.com/theforeman/foreman/pull/4419)
- Subject changed from Show actual date and not time since report in Config Report to Unify
- Translation missing: en.field_release set to 240
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Subject changed from Unify to Unify the way how we display dates
- Bugzilla link deleted (
1435973)
- Related to Refactor #21038: Ensure dates are printed consistently with core added
- Related to Refactor #21039: Ensure dates are printed consistently with core added
- Related to Refactor #21040: Ensure dates are printed consistently with core added
- Related to Refactor #21041: Ensure dates are printed consistently with core added
- Related to Refactor #21042: Ensure dates are printed consistently with core added
- Related to Refactor #21043: Ensure dates are printed consistently with core added
- Related to Bug #21045: Ensure dates are printed consistently with core added
- Related to Refactor #21044: Ensure dates are printed consistently with core added
- Related to Bug #21213: not view certs in puppetca on smart proxy added
- Related to Feature #21312: Foreman should provide react components for formatting dates added
- Related to Feature #21497: As discussed on PR that introduced date helpers, we should make date format configurable on few places added
- Related to Bug #26113: Smart proxy log times not displayed. added
- Related to Bug #26441: Default value for date column not set to React component added
- Related to deleted (Bug #26441: Default value for date column not set to React component)
Also available in: Atom
PDF