FR 1902 then FR 1201 at Dublin
Krakow → Dublin → Budapest
Timetable, Dublin time
22:20FR 1902 from Krakow at the gate
17:40FR 1201 to Budapest leaves the gate
19 h 20 apart on the timetable, overnight
FR 1201 leaves 19 h 20 after FR 1902 arrives on the timetable: more than half a day, so not a connection we count.