From 4ca7c2881254e62e2823a40ae54ecf50b920e13f Mon Sep 17 00:00:00 2001 From: Kyler Chin Date: Tue, 10 Dec 2024 01:56:22 -0800 Subject: [PATCH] Fix compilation error, two digit hours --- src/components/SingleTripInfo.svelte | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/SingleTripInfo.svelte b/src/components/SingleTripInfo.svelte index f4167ef..c12c94f 100644 --- a/src/components/SingleTripInfo.svelte +++ b/src/components/SingleTripInfo.svelte @@ -791,7 +791,7 @@ stoptime.interpolated_stoptime_unix_seconds) * 1000 ).toLocaleTimeString('en-UK', { timeZone: stoptime.timezone || trip_data.tz, - hour: '2-digit' + hour: '2-digit', minute: '2-digit', second: show_seconds ? '2-digit' : undefined })} @@ -858,7 +858,7 @@ stoptime.interpolated_stoptime_unix_seconds) * 1000 ).toLocaleTimeString('en-UK', { timeZone: stoptime.timezone || trip_data.tz, - hour: '2-digit' + hour: '2-digit', minute: '2-digit', second: show_seconds ? '2-digit' : undefined })} @@ -868,7 +868,7 @@ 'en-UK', { timeZone: stoptime.timezone || trip_data.tz, - hour: '2-digit' + hour: '2-digit', minute: '2-digit', second: show_seconds ? '2-digit' : undefined } @@ -880,7 +880,7 @@ stoptime.interpolated_stoptime_unix_seconds) * 1000 ).toLocaleTimeString('en-UK', { timeZone: stoptime.timezone || trip_data.tz, - hour: '2-digit' + hour: '2-digit', minute: '2-digit', second: show_seconds ? '2-digit' : undefined })}