Refactor #21045

Ensure dates are printed consistently with core

Added by Marek Hulán 9 months ago. Updated 3 months ago.

Status:Ready For Testing
Priority:Normal
Assigned To:Tomáš Strachota
Category:-
Target version:Foreman - Team UX - Current Iteration
Branch: Bugzilla link:
Difficulty: Pull request:https://github.com/Katello/katello/pull/7001
Story points-
Velocity based estimate-
ReleaseKatello 3.7.0Release relationshipAuto

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

Related to Foreman - Feature #19047: Unify the way how we display dates Closed 03/28/2017
Blocked by Bastion - Feature #21311: Allow adding multiple js and style tags from plugins Closed 10/12/2017
Blocked by Foreman - Feature #21312: Foreman should provide react components for formatting dates Ready For Testing 10/12/2017
Blocked by Foreman - Feature #21180: Add 3rd party js libraries in plugins Closed 10/03/2017
Copied from OpenSCAP - Refactor #21038: Ensure dates are printed consistently with core Closed 09/20/2017

History

#1 Updated by Marek Hulán 9 months ago

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

#2 Updated by Marek Hulán 9 months ago

#3 Updated by Justin Sherrill 9 months ago

  • Target version set to Team UX - Backlog
  • Release set to Katello Backlog

#4 Updated by Justin Sherrill 9 months ago

  • Target version changed from Team UX - Backlog to Team UX - Iteration 21

#5 Updated by Walden Raines 9 months ago

  • Assigned To set to Tomáš Strachota

#6 Updated by Walden Raines 8 months ago

  • Target version changed from Team UX - Iteration 21 to Team UX - Iteration 22

#7 Updated by Tomáš Strachota 8 months ago

  • Status changed from New to Assigned

#8 Updated by Tomáš Strachota 8 months ago

  • Blocked by Feature #21311: Allow adding multiple js and style tags from plugins added

#9 Updated by Tomáš Strachota 8 months ago

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

#10 Updated by The Foreman Bot 8 months ago

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

#11 Updated by Tomáš Strachota 8 months ago

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

#12 Updated by Tomáš Strachota 8 months ago

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

#13 Updated by Tomáš Strachota 8 months ago

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

#14 Updated by Walden Raines 8 months ago

  • Target version changed from Team UX - Iteration 22 to Foreman - Team UX - Iteration 23

#15 Updated by Walden Raines 7 months ago

  • Target version changed from Foreman - Team UX - Iteration 23 to Team UX - Iteration 24

#16 Updated by Walden Raines 6 months ago

  • Target version changed from Team UX - Iteration 24 to Foreman - Team UX - Iteration 25

#17 Updated by Walden Raines 6 months ago

  • Target version changed from Foreman - Team UX - Iteration 25 to Team UX - Iteration 26

#18 Updated by Walden Raines 5 months ago

  • Target version changed from Team UX - Iteration 26 to Team UX Iteration 27

#19 Updated by Walden Raines 4 months ago

  • Target version changed from Team UX Iteration 27 to Team UX Iteration 28

#20 Updated by The Foreman Bot 4 months ago

  • Release deleted (Katello Backlog)

#21 Updated by Andrew Kofink 4 months ago

  • Release set to Katello 3.7.0

#22 Updated by Walden Raines 3 months ago

  • Target version changed from Team UX Iteration 28 to Team UX - Iteration 29

#23 Updated by Walden Raines 3 months ago

  • Target version changed from Team UX - Iteration 29 to Team UX - Current Iteration

Also available in: Atom PDF