FR 815 then FR 1901 at Dublin
Edinburgh → Dublin → Krakow
Timetable, Dublin time
15:35FR 815 from Edinburgh at the gate
10:00FR 1901 to Krakow leaves the gate
18 h 25 apart on the timetable, overnight
FR 1901 leaves 18 h 25 after FR 815 arrives on the timetable: more than half a day, so not a connection we count.