JA 5123 then JA 5304 at Bogotá
Medellín → Bogota → Cali
Timetable, Bogota time
23:00JA 5123 from Medellín at the gate
20:30JA 5304 to Cali leaves the gate
21 h 30 apart on the timetable, overnight
JA 5304 leaves 21 h 30 after JA 5123 arrives on the timetable: more than half a day, so not a connection we count.