FR 6921 then W6 1706 at Barcelona
Dublin → Barcelona → Gdansk
Timetable, Barcelona time
21:40FR 6921 from Dublin at the gate
20:20W6 1706 to Gdansk leaves the gate
22 h 40 apart on the timetable, overnight
W6 1706 leaves 22 h 40 after FR 6921 arrives on the timetable: more than half a day, so not a connection we count.