'Format date, time, longint values.'

def convert_to_simple_type(self, v, formatted=0):

    return v
    from frappe.utils import formatdate, fmt_money
    if isinstance(v, (datetime.date, datetime.timedelta, datetime.datetime, long)):
        if isinstance(v, datetime.date):
            v = text_type(v)
            if formatted:
                v = formatdate(v)
        elif isinstance(v, (datetime.timedelta, datetime.datetime)):
            v = text_type(v)
        elif isinstance(v, long):
            v = int(v)
    if formatted:
        if isinstance(v, float):
            v = fmt_money(v)
        elif isinstance(v, int):
            v = text_type(v)
    return v
