Fixed layout, relative time. Standardize on use of timeService.

This commit is contained in:
Andy Phillipson 2017-06-08 10:38:58 -04:00
commit ae777d6639
No known key found for this signature in database
GPG key ID: D813A67D567D6C88
10 changed files with 40 additions and 34 deletions

View file

@ -201,7 +201,7 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
};
$scope.createdDuringSameMonth = function(curTx, prevTx) {
return timeService.withinSameMonth(curTx.time, prevTx.time);
return timeService.withinSameMonth(curTx.time * 1000, prevTx.time * 1000);
};
$scope.createdWithinPastDay = function(time) {