Project

General

Profile

Refactor #21041

Ensure dates are printed consistently with core

Added by Marek Hulán almost 5 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
easy
Triaged:
No
Bugzilla link:

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

Associated revisions

Revision 766a2d84 (diff)
Added by Dominik Matoulek over 1 year ago

fixes #21041 - unify usage of datetime macros

This PR unifies usage of datetime macros from core version 1.16

History

#1 Updated by Marek Hulán almost 5 years ago

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

#2 Updated by Marek Hulán almost 5 years ago

#3 Updated by Rahul Bajaj almost 5 years ago

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

#4 Updated by Rahul Bajaj almost 5 years ago

  • Target version changed from 220 to 230

#5 Updated by Rahul Bajaj over 3 years ago

  • Triaged set to No
  • Assignee deleted (Rahul Bajaj)

#6 Updated by The Foreman Bot over 1 year ago

  • Assignee set to Dominik Matoulek
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_discovery/pull/534 added

#7 Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases Discovery Plugin 16.0 added

#8 Updated by Dominik Matoulek over 1 year ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF