#NEWLINE# def python_value( self , value ) : #NEWLINE# #INDENT# if isinstance ( value , ( basestring_type , int , float ) ) : #NEWLINE# #INDENT# return datetime . datetime . fromtimestamp ( float ( value ) ) . date ( ) #NEWLINE# #UNINDENT# return self