#NEWLINE# def get_time_isoformat_from_db( self , time_object ) : #NEWLINE# #INDENT# date = datetime . datetime . strptime ( time_object , '%Y-%m-%d %H:%M:%S.%f' ) #NEWLINE# date = pytz . utc . localize ( time_object ) #NEWLINE# return date . isoformat ( )