P5 7257 then JA 5172 at Bogotá
Cali → Bogota → Santa Marta
Timetable, Bogota time
16:15P5 7257 from Cali at the gate
15:00JA 5172 to Santa Marta leaves the gate
22 h 45 apart on the timetable, overnight
JA 5172 leaves 22 h 45 after P5 7257 arrives on the timetable: more than half a day, so not a connection we count.