Fix TypeError: can't compare offset-naive and offset-aware datetimes

“datetime.min” is  offset-naive datetime ,when the sort method is executed “ TypeError: can't compare offset-naive and offset-aware datetimes” is returned.  
To make an unaware datetime timezone aware,I changed this line and then platform work now.