Skip to content

Commit

Permalink
Use stop tz by default
Browse files Browse the repository at this point in the history
  • Loading branch information
kylerchin authored Dec 10, 2024
1 parent 4ca7c28 commit 5240cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NearbyDepartures.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
{new Intl.DateTimeFormat('en-GB', {
hour: 'numeric',
minute: 'numeric',
timeZone: trip.tz
timeZone: stops_table[route_group.chateau_id][direction_group.trips[0].stop_id].timezone || trip.tz
}).format(
new Date((trip.departure_realtime || trip.departure_schedule) * 1000)
)}
Expand Down

0 comments on commit 5240cf4

Please sign in to comment.