im using T1-T2 in order to take the time delta and then i want to make it back into string I've trying the following code
layover_info = datetime.strptime(leg_info['dep_time'], '%H:%M') - start_waiting_time
layover_info_str = layover_info.strftime('%H:%M')
but it doesnt work.. im getting the error
error: 'datetime.timedelta' object has no attribute 'strftime'