AA 1827 then CI 5345 at San Francisco
Miami → San Francisco → Taipei
Timetable, San Francisco time
10:53AA 1827 from Miami at the gatealso AT 5141, JL 7547
07:00CI 5345 to Taipei leaves the gate
20 h 07 apart on the timetable, overnight
CI 5345 leaves 20 h 07 after AA 1827 arrives on the timetable: more than half a day, so not a connection we count.