From: Grégoire Aubert Date: Fri, 4 May 2018 13:42:50 +0000 (+0200) Subject: SONARCLOUD-34 Automatically update the footer date in SonarCloud X-Git-Tag: 7.5~1254 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=512335aa981a816bc9ee0725c7ee0344f525f390;p=sonarqube.git SONARCLOUD-34 Automatically update the footer date in SonarCloud --- diff --git a/server/sonar-web/src/main/js/app/components/GlobalFooterSonarCloud.tsx b/server/sonar-web/src/main/js/app/components/GlobalFooterSonarCloud.tsx index c98b4415059..6dd0208f57a 100644 --- a/server/sonar-web/src/main/js/app/components/GlobalFooterSonarCloud.tsx +++ b/server/sonar-web/src/main/js/app/components/GlobalFooterSonarCloud.tsx @@ -18,13 +18,14 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import * as React from 'react'; +import { getYear } from 'date-fns'; import { translate } from '../../helpers/l10n'; export default function GlobalFooterSonarCloud() { return ( -