diff --git a/www/plugins/graph/js/controllers/currency-controllers.js b/www/plugins/graph/js/controllers/currency-controllers.js index aaf200e9b7ef3034ae93efa5fc0f3968010a6f96..af172d4f34727c6ec8c22c044519b8c78e60e3fe 100644 --- a/www/plugins/graph/js/controllers/currency-controllers.js +++ b/www/plugins/graph/js/controllers/currency-controllers.js @@ -425,7 +425,7 @@ function GpCurrencyMembersCountController($scope, $controller, $q, $state, $tran $scope.times = result.times; // Choose a date formatter, depending on the blocks period - var blocksPeriod = result.times[result.blocks.length-1] - result.times[0].medianTime; + var blocksPeriod = result.times[result.blocks.length-1]- result.times[0]; var dateFormat; if (blocksPeriod < 15778800/* less than 6 months*/) { dateFormat = $filter('formatDateShort');