Project

General

Profile

Actions

Bug #25674

open

Date formatting does not actually work as intended on many Katello Pages

Added by Samir Jha over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

The Angular date formatting we use on several pages {{date | format}} does not work as expected.(Possibly since we pass date in non-ISOd ate string format from our API)
Ex: Content View > Versions > Status column ({{ version.last_event.created_at | date:'short' }}) which should ideally show dates in 'M/d/yy h:mm a' format. Screenshot attached for what we see today.


Files

CV_version_date_format.png View CV_version_date_format.png 70.2 KB cv_version_incorrect_date_formatting Samir Jha, 12/12/2018 05:22 PM
Actions #1

Updated by Samir Jha over 5 years ago

This affects several pages across the katello UI. Thankfully for us, angular returns the input as-is if the input to date format filter is not recognized as date.

Actions #2

Updated by Jonathon Turel over 5 years ago

  • Target version set to Katello Backlog
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF