FR 338 then FR 1901 at Dublin
London Luton → Dublin → Krakow
Timetable, Dublin time
16:20FR 338 from London Luton at the gate
16:00FR 1901 to Krakow leaves the gate
23 h 40 apart on the timetable, overnight
FR 1901 leaves 23 h 40 after FR 338 arrives on the timetable: more than half a day, so not a connection we count.