FR 7851 then FR 4038 at Dublin
Cardiff → Dublin → Milan Bergamo
Timetable, Dublin time
00:50FR 7851 from Cardiff at the gate
21:00FR 4038 to Milan Bergamo leaves the gate
20 h 10 apart on the timetable
FR 4038 leaves 20 h 10 after FR 7851 arrives on the timetable: more than half a day, so not a connection we count.