W6 1785 then BT 154 at Oslo
Gdansk → Oslo → Riga
Timetable, Oslo time
07:40W6 1785 from Gdansk at the gate
20:25BT 154 to Riga leaves the gate
12 h 45 apart on the timetable
BT 154 leaves 12 h 45 after W6 1785 arrives on the timetable: more than half a day, so not a connection we count.