Bug #21045
closed
Ensure dates are printed consistently with core
Added by Marek Hulán over 7 years ago.
Updated over 6 years ago.
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.
- Copied from Refactor #21038: Ensure dates are printed consistently with core added
- Target version set to 219
- Translation missing: en.field_release set to 114
- Target version changed from 219 to 218
- Assignee set to Tomáš Strachota
- Target version changed from 218 to 224
- Status changed from New to Assigned
- Related to Feature #21312: Foreman should provide react components for formatting dates added
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7001 added
- Related to deleted (Feature #21312: Foreman should provide react components for formatting dates)
- Blocked by Feature #21312: Foreman should provide react components for formatting dates added
- Blocked by Feature #21180: Add 3rd party js libraries in plugins added
- Target version changed from 224 to 228
- Target version changed from 228 to 234
- Target version changed from 234 to 237
- Target version changed from 237 to 239
- Target version changed from 239 to 243
- Target version changed from 243 to 248
- Translation missing: en.field_release deleted (
114)
- Translation missing: en.field_release set to 338
- Target version changed from 248 to 250
- Target version changed from 250 to 253
- Target version deleted (
253)
- Tracker changed from Refactor to Bug
- Target version changed from Katello 3.7.0 to Katello 3.9.0
- Target version changed from Katello 3.9.0 to Katello Backlog
- Status changed from Ready For Testing to Closed
Also available in: Atom
PDF