Project

General

Profile

Actions

Refactor #21039

closed

Ensure dates are printed consistently with core

Added by Marek Hulán almost 7 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Web Interface
Target version:
-
Difficulty:
easy
Triaged:
Yes
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 2 (0 open2 closed)

Related to Foreman - Feature #19047: Unify the way how we display datesClosedMarek Hulán03/28/2017Actions
Copied from OpenSCAP - Refactor #21038: Ensure dates are printed consistently with coreClosed09/20/2017Actions
Actions

Also available in: Atom PDF