Project

General

Profile

Actions

Bug #21045

closed

Ensure dates are printed consistently with core

Added by Marek Hulán about 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Yes
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. In Katello specifically it might be more complicated as the bastion can't use helpers directly. I see two ways, either doing the same in bastion or having server generating this date in right format and bastion just wrapping it with the right tags.


Related issues 4 (0 open4 closed)

Related to Foreman - Feature #19047: Unify the way how we display datesClosedMarek Hulán03/28/2017Actions
Blocked by Foreman - Feature #21312: Foreman should provide react components for formatting datesClosedTomáš StrachotaActions
Blocked by Foreman - Feature #21180: Add 3rd party js libraries in pluginsClosedOndřej Pražák10/03/2017Actions
Copied from OpenSCAP - Refactor #21038: Ensure dates are printed consistently with coreClosed09/20/2017Actions
Actions #1

Updated by Marek Hulán about 7 years ago

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

Updated by Marek Hulán about 7 years ago

Actions #3

Updated by Justin Sherrill about 7 years ago

  • Target version set to 219
  • Translation missing: en.field_release set to 114
Actions #4

Updated by Justin Sherrill about 7 years ago

  • Target version changed from 219 to 218
Actions #5

Updated by Walden Raines about 7 years ago

  • Assignee set to Tomáš Strachota
Actions #6

Updated by Walden Raines almost 7 years ago

  • Target version changed from 218 to 224
Actions #7

Updated by Tomáš Strachota almost 7 years ago

  • Status changed from New to Assigned
Actions #9

Updated by Tomáš Strachota almost 7 years ago

  • Related to Feature #21312: Foreman should provide react components for formatting dates added
Actions #10

Updated by The Foreman Bot almost 7 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7001 added
Actions #11

Updated by Tomáš Strachota almost 7 years ago

  • Related to deleted (Feature #21312: Foreman should provide react components for formatting dates)
Actions #12

Updated by Tomáš Strachota almost 7 years ago

  • Blocked by Feature #21312: Foreman should provide react components for formatting dates added
Actions #13

Updated by Tomáš Strachota almost 7 years ago

  • Blocked by Feature #21180: Add 3rd party js libraries in plugins added
Actions #14

Updated by Walden Raines almost 7 years ago

  • Target version changed from 224 to 228
Actions #15

Updated by Walden Raines almost 7 years ago

  • Target version changed from 228 to 234
Actions #16

Updated by Walden Raines almost 7 years ago

  • Target version changed from 234 to 237
Actions #17

Updated by Walden Raines almost 7 years ago

  • Target version changed from 237 to 239
Actions #18

Updated by Walden Raines over 6 years ago

  • Target version changed from 239 to 243
Actions #19

Updated by Walden Raines over 6 years ago

  • Target version changed from 243 to 248
Actions #20

Updated by The Foreman Bot over 6 years ago

  • Translation missing: en.field_release deleted (114)
Actions #21

Updated by Andrew Kofink over 6 years ago

  • Translation missing: en.field_release set to 338
Actions #22

Updated by Walden Raines over 6 years ago

  • Target version changed from 248 to 250
Actions #23

Updated by Walden Raines over 6 years ago

  • Target version changed from 250 to 253
Actions #24

Updated by Walden Raines over 6 years ago

  • Target version deleted (253)
Actions #25

Updated by Jonathon Turel about 6 years ago

  • Tracker changed from Refactor to Bug
  • Target version changed from Katello 3.7.0 to Katello 3.9.0
Actions #26

Updated by Zach Huntington-Meath almost 6 years ago

  • Target version changed from Katello 3.9.0 to Katello Backlog
Actions #27

Updated by Tomáš Strachota almost 6 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF