diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-02-24 14:48:18 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-02-24 14:48:18 +0100 |
commit | 84f074e14613370ba3c0ce176b6f60ff8e67df95 (patch) | |
tree | 0b7e0257a78f9015198ab666aa4a4d0a74399da5 /server/sonar-web/src/main/js/apps/background-tasks | |
parent | e867b34cb7ab0252dc69746aee1333bd7945ac36 (diff) | |
download | sonarqube-84f074e14613370ba3c0ce176b6f60ff8e67df95.tar.gz sonarqube-84f074e14613370ba3c0ce176b6f60ff8e67df95.zip |
display if background task processing crossed midnight
Diffstat (limited to 'server/sonar-web/src/main/js/apps/background-tasks')
-rw-r--r-- | server/sonar-web/src/main/js/apps/background-tasks/components/TaskDate.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 ( <td className="thin nowrap text-right"> |