'Transform a date value to an object compatible with what is expected
by the backend driver for date columns.'

def value_to_db_date(self, value):

    if (value is None):
        return None
    return six.text_type(value)
