From a621697f47303b39e0bbe8064895cc7c02baaaca Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Wed, 10 Feb 2021 22:00:07 +0100 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Rémi Doreau <32459935+ayshiff@users.noreply.github.com> --- plugins/jenkins/src/components/Cards/Cards.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/jenkins/src/components/Cards/Cards.tsx b/plugins/jenkins/src/components/Cards/Cards.tsx index 772632668c..c7efde6523 100644 --- a/plugins/jenkins/src/components/Cards/Cards.tsx +++ b/plugins/jenkins/src/components/Cards/Cards.tsx @@ -44,7 +44,7 @@ const WidgetContent = ({ (latestRun.building ? 'Running for ' : '') + DateTime.local() .minus(Duration.fromMillis(latestRun.duration)) - .toRelative() + .toRelative({ locale: "en" }) ?.replace(' ago', ''); return (