Skip to content

Commit

Permalink
#67 Fix a UI regression introduced by the migration of date fields in…
Browse files Browse the repository at this point in the history
… the database
  • Loading branch information
nadouani committed Jan 3, 2017
1 parent aee7cc0 commit cbbb86c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ui/app/scripts/directives/flow/flow-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
scope.getContentUrl = function() {
return 'views/directives/flow/' + scope.type + '.html';
};
scope.gtime = function(startdate) {
return moment(startdate, 'YYYYMMDDTHHmmssZZ').toDate().getTime();
scope.gtime = function(startdate) {
return moment(startdate).toDate().getTime();
};
scope.isImage = function(contentType) {
return angular.isString(contentType) && contentType.indexOf('image') === 0;
Expand Down
2 changes: 1 addition & 1 deletion ui/app/views/directives/flow/operation.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<span class="operation-user">{{getUserInfo.get(base.user) | getField: 'name'}}</span>

<span class="operation-timer pull-right">
<i class="text-default glyphicon glyphicon-time"></i>
<i class="text-default glyphicon glyphicon-time"></i>
<timer interval="30000" start-time="gtime(base.startDate)">
{{millis | amDurationFormat : 'milliseconds'}}
</timer>
Expand Down

0 comments on commit cbbb86c

Please sign in to comment.