From e529448f66a53caae2de5e8052278e606338a6b4 Mon Sep 17 00:00:00 2001 From: Peter Pan Date: Thu, 3 Sep 2020 11:03:41 +0800 Subject: [PATCH] Millisecond (#783) * fix: incorrect locale redirect * chore: use millisecond --- .../components/SamplePage/SampleChart.tsx | 2 +- frontend/packages/core/pages/pr-curve.tsx | 4 +- .../packages/core/resource/scalar/data.ts | 3 +- frontend/packages/mock/data/audio/list.ts | 20 +- frontend/packages/mock/data/histogram/list.ts | 8 +- frontend/packages/mock/data/image/list.ts | 20 +- frontend/packages/mock/data/pr-curve/list.ts | 40 +- frontend/packages/mock/data/pr-curve/steps.ts | 40 +- frontend/packages/mock/data/scalar/list.ts | 2000 ++++++++--------- frontend/packages/wasm/src/scalar.rs | 2 +- frontend/yarn.lock | 1661 +++++++------- 11 files changed, 1888 insertions(+), 1912 deletions(-) diff --git a/frontend/packages/core/components/SamplePage/SampleChart.tsx b/frontend/packages/core/components/SamplePage/SampleChart.tsx index 3cebec9b..5192b024 100644 --- a/frontend/packages/core/components/SamplePage/SampleChart.tsx +++ b/frontend/packages/core/components/SamplePage/SampleChart.tsx @@ -220,7 +220,7 @@ const SampleChart: FunctionComponent = ({run, tag, running, ty {run.label} - {formatTime(wallTime * 1000, i18n.language)} + {formatTime(wallTime, i18n.language)} {Content}