mirror of
https://github.com/ansible/awx.git
synced 2026-03-17 00:47:29 -02:30
Adding a date filter that will format dates in Tower UI
based on the user's locale. short and long date format filters adding long date format to appropriate files in doing a grep for the long date format, i found these files could instead use the londDate filter Removing short hand abbreviation for dates. We will now include the year in all our date formats updating jshint to ignore moment updating long date filter
This commit is contained in:
@@ -300,7 +300,7 @@ angular.module('StreamWidget', ['RestServices', 'Utilities', 'StreamListDefiniti
|
||||
scope = generator.inject(form, { mode: 'edit', modal: true, related: false });
|
||||
scope.changes = activity.changes_stringified;
|
||||
scope.user = ((activity.summary_fields.actor) ? activity.summary_fields.actor.username : 'system') +
|
||||
' on ' + $filter('date')(activity.timestamp, "MM/dd/yy HH:mm:ss");
|
||||
' on ' + $filter('longDate')(activity.timestamp);
|
||||
scope.operation = activity.description_nolink;
|
||||
|
||||
scope.formModalAction = function () {
|
||||
|
||||
Reference in New Issue
Block a user