Bug #21045
Ensure dates are printed consistently with core
Description
Foreman 1.16 introduced two helpers that should be used whenever date/time information is printed.
date_time_absolute(time, format = :short)
date_time_relative(time)
If it's applicable, the Foreman dependency of a plugin should be bumped to 1.16. In Katello specifically it might be more complicated as the bastion can't use helpers directly. I see two ways, either doing the same in bastion or having server generating this date in right format and bastion just wrapping it with the right tags.
Related issues
History
#1
Updated by Marek Hulán over 3 years ago
- Copied from Refactor #21038: Ensure dates are printed consistently with core added
#2
Updated by Marek Hulán over 3 years ago
- Related to Feature #19047: Unify the way how we display dates added
#3
Updated by Justin Sherrill over 3 years ago
- Target version set to 219
- Legacy Backlogs Release (now unused) set to 114
#4
Updated by Justin Sherrill over 3 years ago
- Target version changed from 219 to 218
#5
Updated by Walden Raines over 3 years ago
- Assignee set to Tomáš Strachota
#6
Updated by Walden Raines over 3 years ago
- Target version changed from 218 to 224
#7
Updated by Tomáš Strachota over 3 years ago
- Status changed from New to Assigned
#9
Updated by Tomáš Strachota over 3 years ago
- Related to Feature #21312: Foreman should provide react components for formatting dates added
#10
Updated by The Foreman Bot over 3 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7001 added
#11
Updated by Tomáš Strachota over 3 years ago
- Related to deleted (Feature #21312: Foreman should provide react components for formatting dates)
#12
Updated by Tomáš Strachota over 3 years ago
- Blocked by Feature #21312: Foreman should provide react components for formatting dates added
#13
Updated by Tomáš Strachota over 3 years ago
- Blocked by Feature #21180: Add 3rd party js libraries in plugins added
#14
Updated by Walden Raines about 3 years ago
- Target version changed from 224 to 228
#15
Updated by Walden Raines about 3 years ago
- Target version changed from 228 to 234
#16
Updated by Walden Raines about 3 years ago
- Target version changed from 234 to 237
#17
Updated by Walden Raines about 3 years ago
- Target version changed from 237 to 239
#18
Updated by Walden Raines almost 3 years ago
- Target version changed from 239 to 243
#19
Updated by Walden Raines almost 3 years ago
- Target version changed from 243 to 248
#20
Updated by The Foreman Bot almost 3 years ago
- Legacy Backlogs Release (now unused) deleted (
114)
#21
Updated by Andrew Kofink almost 3 years ago
- Legacy Backlogs Release (now unused) set to 338
#22
Updated by Walden Raines almost 3 years ago
- Target version changed from 248 to 250
#23
Updated by Walden Raines almost 3 years ago
- Target version changed from 250 to 253
#24
Updated by Walden Raines over 2 years ago
- Target version deleted (
253)
#25
Updated by Jonathon Turel over 2 years ago
- Target version changed from Katello 3.7.0 to Katello 3.9.0
- Tracker changed from Refactor to Bug
#26
Updated by Zach Huntington-Meath over 2 years ago
- Target version changed from Katello 3.9.0 to Katello Backlog
#27
Updated by Tomáš Strachota about 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|c9ad1a640dca56531a592f026e5d1f9d2a686106.
Fixes #21045 - React components for formatting dates
Adds angular directives that use react components from the foreman
to provide consistent date and time formatting.