From 84f074e14613370ba3c0ce176b6f60ff8e67df95 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Wed, 24 Feb 2016 14:48:18 +0100 Subject: display if background task processing crossed midnight --- .../sonar-web/src/main/js/apps/background-tasks/components/TaskDate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/sonar-web/src/main') diff --git a/server/sonar-web/src/main/js/apps/background-tasks/components/TaskDate.js b/server/sonar-web/src/main/js/apps/background-tasks/components/TaskDate.js index 568b65df97b..2854b4e6ac4 100644 --- a/server/sonar-web/src/main/js/apps/background-tasks/components/TaskDate.js +++ b/server/sonar-web/src/main/js/apps/background-tasks/components/TaskDate.js @@ -23,7 +23,7 @@ import React from 'react'; export default function TaskDate ({ date, baseDate, format }) { const m = moment(date); const baseM = moment(baseDate); - const diff = (date && baseDate) ? m.diff(baseM, 'days') : 0; + const diff = (date && baseDate) ? m.diff(baseM, 'minutes') : 0; return ( -- cgit v1.2.3