#NEWLINE# @ formatter_for ( 'date' ) #NEWLINE# def format_value_timestamp( val , colormap , time_format , quote = False , **_ ) : #NEWLINE# #INDENT# bval = strftime ( time_format , calendar . timegm ( val . utctimetuple ( ) ) ) #NEWLINE# if quote : #NEWLINE# #INDENT# bval = ( "'%s'" % _ ) #NEWLINE# #UNINDENT# return colorme ( bval , colormap , 'timestamp' )