FR 817 then LH 981 at Dublin
Edinburgh → Dublin → Frankfurt am Main
Timetable, Dublin time
19:00FR 817 from Edinburgh at the gate
17:15LH 981 to Frankfurt am Main leaves the gate
22 h 15 apart on the timetable, overnight
LH 981 leaves 22 h 15 after FR 817 arrives on the timetable: more than half a day, so not a connection we count.