parameters: (self, field, value, as_string, ooo_builder, REQUEST,
                        render_prefix, attr_dict, local_name)
return_statement: return Widget.render_odg_view(self, field, value_as_text, as_string,
                                        ooo_builder, REQUEST, render_prefix,
                                        attr_dict, local_name)
docstring: Transform DateTime into string then call default renderer
docstring_summary: Transform DateTime into string then call default renderer
docstring_tokens: Transform DateTime into string then call default renderer
function: def render_odg_view(self, field, value, as_string, ooo_builder, REQUEST,
                        render_prefix, attr_dict, local_name):
      """Transform DateTime into string then call default renderer
      """
      if not value and field.get_value('default_now'):
        value = DateTime()
      value_as_text = self.format_value(field, value, mode='pdf').decode('utf-8')
      return Widget.render_odg_view(self, field, value_as_text, as_string,
                                        ooo_builder, REQUEST, render_prefix,
                                        attr_dict, local_name)
function_tokens: def render_odg_view ( self , field , value , as_string , ooo_builder , REQUEST , render_prefix , attr_dict , local_name ) : if not value and field . get_value ( 'default_now' ) : value = DateTime ( ) value_as_text = self . format_value ( field , value , mode = 'pdf' ) . decode ( 'utf-8' ) return Widget . render_odg_view ( self , field , value_as_text , as_string , ooo_builder , REQUEST , render_prefix , attr_dict , local_name )