Calculate the time minutes of the difference between T1 and T2. If it is more than half a minute, round it. The code is as follows: T2 is more than one day more than T1, but the result is still 2. What's wrong with my calculation?
t1 = datetime.datetime(2017,3,4,8,49,0)
t2 = datetime.datetime(2017,3,5,8,50,30)
min =(t2 - t1).seconds/60
m = round(min)