Skip to content

Commit

Permalink
Fix compilation error, two digit hours
Browse files Browse the repository at this point in the history
  • Loading branch information
kylerchin authored Dec 10, 2024
1 parent 00a4a6e commit 4ca7c28
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/SingleTripInfo.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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
})}
Expand Down Expand Up @@ -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
})}
Expand All @@ -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
}
Expand All @@ -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
})}
Expand Down

0 comments on commit 4ca7c28

Please sign in to comment.