EC 1297 then IB 5940 at Barcelona
Geneva → Barcelona → Nice
Timetable, Barcelona time
20:40EC 1297 from Geneva at the gate
19:50IB 5940 to Nice leaves the gatealso LL 5940, VY 8136
23 h 10 apart on the timetable, overnight
IB 5940 leaves 23 h 10 after EC 1297 arrives on the timetable: more than half a day, so not a connection we count.