Refactor #21038
closed
Ensure dates are printed consistently with core
Added by Marek Hulán over 7 years ago.
Updated almost 7 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
- Copied to Refactor #21039: Ensure dates are printed consistently with core added
- Copied to Refactor #21040: Ensure dates are printed consistently with core added
- Copied to Refactor #21041: Ensure dates are printed consistently with core added
- Copied to Refactor #21042: Ensure dates are printed consistently with core added
- Copied to Refactor #21043: Ensure dates are printed consistently with core added
- Copied to Refactor #21044: Ensure dates are printed consistently with core added
- Copied to Bug #21045: Ensure dates are printed consistently with core added
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_openscap/pull/312 added
- Translation missing: en.field_release set to 326
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF