From 7a1f791ced7c893f45b6c3744c2eb3e16063eac7 Mon Sep 17 00:00:00 2001 From: nabenabe0928 Date: Tue, 12 Dec 2023 15:10:03 +0100 Subject: [PATCH] Debug the maxDateTime --- optuna_dashboard/ts/components/GraphTimeline.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optuna_dashboard/ts/components/GraphTimeline.tsx b/optuna_dashboard/ts/components/GraphTimeline.tsx index d710a0b1..1a6e8379 100644 --- a/optuna_dashboard/ts/components/GraphTimeline.tsx +++ b/optuna_dashboard/ts/components/GraphTimeline.tsx @@ -70,7 +70,7 @@ const plotTimeline = (trials: Trial[], mode: string) => { ...trials.map((t) => { return t.datetime_start === undefined || t.datetime_complete === undefined ? -Infinity - : t.datetime_start.getTime() - t.datetime_complete.getTime() + : t.datetime_complete.getTime() - t.datetime_start.getTime() }) ) const hasRunning =