FR 1977 then FR 7799 at Dublin
Riga → Dublin → Milan
Timetable, Dublin time
23:10FR 1977 from Riga at the gate
17:55FR 7799 to Milan leaves the gate
18 h 45 apart on the timetable, overnight
FR 7799 leaves 18 h 45 after FR 1977 arrives on the timetable: more than half a day, so not a connection we count.