U2 8822 then U2 8317 at Gatwick
Krakow → London → Pisa
Timetable, London time
12:25U2 8822 from Krakow at the gate
09:00U2 8317 to Pisa leaves the gate
20 h 35 apart on the timetable, overnight
U2 8317 leaves 20 h 35 after U2 8822 arrives on the timetable: more than half a day, so not a connection we count.