LH 965 then LH 982 at Frankfurt
Edinburgh → Frankfurt am Main → Dublin
Timetable, Frankfurt am Main time
09:05LH 965 from Edinburgh at the gate
21:40LH 982 to Dublin leaves the gate
12 h 35 apart on the timetable
LH 982 leaves 12 h 35 after LH 965 arrives on the timetable: more than half a day, so not a connection we count.