Project

General

Profile

Refactor #21041

Ensure dates are printed consistently with core

Added by Marek Hulán about 1 year ago. Updated 5 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
easy
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
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

Related to Foreman - Feature #19047: Unify the way how we display datesClosed2017-03-28
Copied from OpenSCAP - Refactor #21038: Ensure dates are printed consistently with coreClosed2017-09-20

History

#1 Updated by Marek Hulán about 1 year ago

  • Copied from Refactor #21038: Ensure dates are printed consistently with core added

#2 Updated by Marek Hulán about 1 year ago

#3 Updated by Rahul Bajaj about 1 year ago

  • Target version set to 220
  • Assignee set to Rahul Bajaj

#4 Updated by Rahul Bajaj about 1 year ago

  • Target version changed from 220 to 230

Also available in: Atom PDF