Project

General

Profile

Bug #25674

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

Added by Samir Jha 7 months ago. Updated 7 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
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.

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
Cv version date format

History

#1 Updated by Samir Jha 7 months 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.

#2 Updated by Jonathon Turel 7 months ago

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

Also available in: Atom PDF