Apply suggestions from code review

Co-authored-by: Rémi Doreau <32459935+ayshiff@users.noreply.github.com>
This commit is contained in:
Patrik Oldsberg
2021-02-10 22:00:07 +01:00
committed by GitHub
parent 53348f0af2
commit a621697f47
@@ -44,7 +44,7 @@ const WidgetContent = ({
(latestRun.building ? 'Running for ' : '') +
DateTime.local()
.minus(Duration.fromMillis(latestRun.duration))
.toRelative()
.toRelative({ locale: "en" })
?.replace(' ago', '');
return (