Project

General

Profile

Refactor #21038

Ensure dates are printed consistently with core

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

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Branch:
Difficulty:
easy
Triaged:
No
Bugzilla link:
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 to Foreman - Refactor #21039: Ensure dates are printed consistently with coreClosed
Copied to virt-who configure - Refactor #21040: Ensure dates are printed consistently with coreNew2017-09-20
Copied to Discovery - Refactor #21041: Ensure dates are printed consistently with coreClosed
Copied to Docker - Refactor #21042: Ensure dates are printed consistently with coreNew2017-09-20
Copied to Foreman Remote Execution - Refactor #21043: Ensure dates are printed consistently with coreNew2017-09-20
Copied to foreman-tasks - Refactor #21044: Ensure dates are printed consistently with coreNew2017-09-20
Copied to Katello - Bug #21045: Ensure dates are printed consistently with coreClosed

Associated revisions

Revision 6833257c (diff)
Added by Shira Maximov almost 4 years ago

Fixes #21038 - unify date formats

Revision cb6ffd37
Added by Ondřej Pražák almost 4 years ago

Merge pull request #312 from shiramax/21038

Fixes #21038 - unify date formats

History

#1 Updated by Marek Hulán about 4 years ago

#2 Updated by Marek Hulán about 4 years ago

  • Copied to Refactor #21039: Ensure dates are printed consistently with core added

#3 Updated by Marek Hulán about 4 years ago

  • Copied to Refactor #21040: Ensure dates are printed consistently with core added

#4 Updated by Marek Hulán about 4 years ago

  • Copied to Refactor #21041: Ensure dates are printed consistently with core added

#5 Updated by Marek Hulán about 4 years ago

  • Copied to Refactor #21042: Ensure dates are printed consistently with core added

#6 Updated by Marek Hulán about 4 years ago

  • Copied to Refactor #21043: Ensure dates are printed consistently with core added

#7 Updated by Marek Hulán about 4 years ago

  • Copied to Refactor #21044: Ensure dates are printed consistently with core added

#8 Updated by Marek Hulán about 4 years ago

  • Copied to Bug #21045: Ensure dates are printed consistently with core added

#9 Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_openscap/pull/312 added

#10 Updated by Marek Hulán almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 326

#11 Updated by Shira Maximov almost 4 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF