Project

General

Profile

Refactor #21039

Ensure dates are printed consistently with core

Added by Marek Hulán over 3 years ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Category:
Web Interface
Target version:
-
Difficulty:
easy
Triaged:
Yes
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 from OpenSCAP - Refactor #21038: Ensure dates are printed consistently with coreClosed2017-09-20

Associated revisions

Revision 61728728 (diff)
Added by Adi Abramovitch about 1 month ago

Fixes #21039 - Ensure dates are printed consistently

History

#1 Updated by Marek Hulán over 3 years ago

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

#2 Updated by Marek Hulán over 3 years ago

#3 Updated by Ondřej Ezr 2 months ago

  • Triaged changed from No to Yes

Found: `import_time`

#4 Updated by Adi Abramovitch about 2 months ago

  • Assignee set to Adi Abramovitch

#5 Updated by Adi Abramovitch about 2 months ago

  • Project changed from Ansible to Foreman

#6 Updated by The Foreman Bot about 2 months ago

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

#7 Updated by The Foreman Bot about 1 month ago

  • Fixed in Releases 2.5.0 added

#8 Updated by Adi Abramovitch about 1 month ago

  • Status changed from Ready For Testing to Closed

#9 Updated by Tomer Brisker about 1 month ago

  • Category set to Web Interface

Also available in: Atom PDF