Revert "Revert "Adding a date filter that will format dates in Tower UI""

This reverts commit a5119f681d688ea1bdf07b952a065f90a03ea757.
This commit is contained in:
Jared Tabor
2015-05-15 11:14:29 -04:00
parent 052c808b8f
commit 20ec360692
17 changed files with 38 additions and 28 deletions

View File

@@ -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 () {