Project

General

Profile

Actions

Refactor #21038

closed

Ensure dates are printed consistently with core

Added by Marek Hulán over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Branch:
Difficulty:
easy
Triaged:
No
Fixed in Releases:
Found in Releases:

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


Related issues 8 (3 open5 closed)

Related to Foreman - Feature #19047: Unify the way how we display datesClosedMarek Hulán03/28/2017Actions
Copied to Foreman - Refactor #21039: Ensure dates are printed consistently with coreClosedAdi AbramovitchActions
Copied to virt-who configure - Refactor #21040: Ensure dates are printed consistently with coreClosedActions
Copied to Discovery - Refactor #21041: Ensure dates are printed consistently with coreClosedDominik MatoulekActions
Copied to Docker - Refactor #21042: Ensure dates are printed consistently with coreNew09/20/2017Actions
Copied to Foreman Remote Execution - Refactor #21043: Ensure dates are printed consistently with coreNew09/20/2017Actions
Copied to foreman-tasks - Refactor #21044: Ensure dates are printed consistently with coreNew09/20/2017Actions
Copied to Katello - Bug #21045: Ensure dates are printed consistently with coreClosedTomáš StrachotaActions
Actions

Also available in: Atom PDF