Refactor #21041

Ensure dates are printed consistently with core

Added by Marek Hulán 8 months ago. Updated 7 months ago.

Status:New
Priority:Normal
Assigned To:Rahul Bajaj
Category:-
Target version:Foreman - Team Anurag Iteration 22
Difficulty:easy Pull request:
Bugzilla link:
Story points-
Velocity based estimate-

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 dates Closed 03/28/2017
Copied from OpenSCAP - Refactor #21038: Ensure dates are printed consistently with core Closed 09/20/2017

History

#1 Updated by Marek Hulán 8 months ago

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

#2 Updated by Marek Hulán 8 months ago

#3 Updated by Rahul Bajaj 7 months ago

  • Target version set to Team Anurag Iteration 21
  • Assigned To set to Rahul Bajaj

#4 Updated by Rahul Bajaj 7 months ago

  • Target version changed from Team Anurag Iteration 21 to Team Anurag Iteration 22

Also available in: Atom PDF