JA 5301 then CM 861 at Bogotá
Cali → Bogota → Tocumen
Timetable, Bogota time
10:15JA 5301 from Cali at the gate
10:00CM 861 to Tocumen leaves the gate
23 h 45 apart on the timetable, overnight
CM 861 leaves 23 h 45 after JA 5301 arrives on the timetable: more than half a day, so not a connection we count.