Skip to content

Commit cba1087

Browse files
committed
fix(stop-viewer): fix display of soon text in stop viewer
re ibi-group/trimet-mod-otp#184
1 parent 83e02a2 commit cba1087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/components/viewers/stop-viewer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ class PatternRow extends Component {
291291
{/* next departure preview */}
292292
{stopTimes && stopTimes.length > 0 && (
293293
<div className='next-trip-preview'>
294-
{getFormattedStopTime(sortedStopTimes[0], homeTimezone, timeFormat, stopViewerArriving)}
294+
{getFormattedStopTime(sortedStopTimes[0], homeTimezone, stopViewerArriving, timeFormat)}
295295
</div>
296296
)}
297297

0 commit comments

Comments
 (0)