FINAL revert of commit: "Adding a date filter that will format dates in Tower UI"""

This reverts commit 1945c04cd3dfbb33fe3c8139cee88c862cd75cab.
This commit is contained in:
Jared Tabor
2015-05-15 11:18:47 -04:00
parent 20ec360692
commit 12fbe984b9
17 changed files with 28 additions and 38 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('longDate')(activity.timestamp);
' on ' + $filter('date')(activity.timestamp, "MM/dd/yy HH:mm:ss");
scope.operation = activity.description_nolink;
scope.formModalAction = function () {