#NEWLINE# def format_time( t ) : #NEWLINE# #INDENT# '\n    RFC 2822 time formatter\n    ' #NEWLINE# dt = datetime . datetime ( 2000 , 1 , 1 , t . hour , t . minute , t . second ) #NEWLINE# return dateformat . format ( dt , 'H:i:s O' )