BA 873 then LH 2479 at Heathrow
Krakow → London → Munich
Timetable, London time
18:05BA 873 from Krakow at the gate
17:50LH 2479 to Munich leaves the gate
23 h 45 apart on the timetable, overnight
LH 2479 leaves 23 h 45 after BA 873 arrives on the timetable: more than half a day, so not a connection we count.