FR 5719 then W6 1706 at Barcelona
Bratislava → Barcelona → Gdansk
Timetable, Barcelona time
20:55FR 5719 from Bratislava at the gate
20:20W6 1706 to Gdansk leaves the gate
23 h 25 apart on the timetable, overnight
W6 1706 leaves 23 h 25 after FR 5719 arrives on the timetable: more than half a day, so not a connection we count.