Project

General

Profile

Bug #21045

Ensure dates are printed consistently with core

Added by Marek Hulán about 1 year ago. Updated about 2 months ago.

Status:
Ready For Testing
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
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

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

History

#1 Updated by Marek Hulán about 1 year ago

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

#2 Updated by Marek Hulán about 1 year ago

#3 Updated by Justin Sherrill about 1 year ago

  • Target version set to 219
  • Legacy Backlogs Release (now unused) set to 114

#4 Updated by Justin Sherrill about 1 year ago

  • Target version changed from 219 to 218

#5 Updated by Walden Raines 12 months ago

  • Assignee set to Tomáš Strachota

#6 Updated by Walden Raines 12 months ago

  • Target version changed from 218 to 224

#7 Updated by Tomáš Strachota 11 months ago

  • Status changed from New to Assigned

#8 Updated by Tomáš Strachota 11 months ago

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

#9 Updated by Tomáš Strachota 11 months ago

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

#10 Updated by The Foreman Bot 11 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 11 months ago

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

#12 Updated by Tomáš Strachota 11 months ago

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

#13 Updated by Tomáš Strachota 11 months ago

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

#14 Updated by Walden Raines 11 months ago

  • Target version changed from 224 to 228

#15 Updated by Walden Raines 10 months ago

  • Target version changed from 228 to 234

#16 Updated by Walden Raines 9 months ago

  • Target version changed from 234 to 237

#17 Updated by Walden Raines 9 months ago

  • Target version changed from 237 to 239

#18 Updated by Walden Raines 8 months ago

  • Target version changed from 239 to 243

#19 Updated by Walden Raines 7 months ago

  • Target version changed from 243 to 248

#20 Updated by The Foreman Bot 7 months ago

  • Legacy Backlogs Release (now unused) deleted (114)

#21 Updated by Andrew Kofink 7 months ago

  • Legacy Backlogs Release (now unused) set to 338

#22 Updated by Walden Raines 7 months ago

  • Target version changed from 248 to 250

#23 Updated by Walden Raines 6 months ago

  • Target version changed from 250 to 253

#24 Updated by Walden Raines 3 months ago

  • Target version deleted (253)

#25 Updated by Jonathon Turel about 2 months ago

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

Also available in: Atom PDF