16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 17:09:19 +02:00

departure/arrival time in timetable can be a fraction of minute

This commit is contained in:
Królik Uszasty
2019-05-12 23:38:40 +02:00
parent c021ac12a9
commit b4210f8094
4 changed files with 16 additions and 16 deletions

View File

@@ -353,7 +353,7 @@ timetable_panel::update() {
( owner->iStationStart < table->StationIndex )
&& ( i < table->StationIndex )
&& ( ( tableline->Ah < 0 ) // pass-through, always valid
|| ( time.wHour * 60 + time.wMinute >= tableline->Dh * 60 + tableline->Dm ) ) );
|| ( time.wHour * 60 + time.wMinute + time.wSecond * 0.0167 >= tableline->Dh * 60 + tableline->Dm ) ) );
auto traveltime =
" "
+ ( i < 2 ? "" :