From 67a66f280089a1c6a3b390c8840f1a8df5e83729 Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Wed, 18 Sep 2024 18:05:03 +0200 Subject: [PATCH] Show full ISO timestamp in debug client leg times --- client/src/components/ItineraryList/LegTime.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/client/src/components/ItineraryList/LegTime.tsx b/client/src/components/ItineraryList/LegTime.tsx index 1b3d01e0d05..0a574a7bccc 100644 --- a/client/src/components/ItineraryList/LegTime.tsx +++ b/client/src/components/ItineraryList/LegTime.tsx @@ -11,11 +11,15 @@ export function LegTime({ }) { return aimedTime !== expectedTime ? ( <> - {formatTime(expectedTime, 'short')} - {formatTime(aimedTime, 'short')} + + {formatTime(expectedTime, 'short')} + + + {formatTime(aimedTime, 'short')} + ) : ( - + {formatTime(expectedTime, 'short')} {hasRealtime && (on time)}