def str_date_to_couch(from_date):
    # HACK: left here to debug improper date conversion calls
    converted_date = ''
    try:
        couch_date = datetime.datetime.strptime(from_date, settings.DATE_FORMAT)
        converted_date = str(couch_date.strftime(settings.DATE_COUCHDB_FORMAT))
    except ValueError:
        log.error('adlibre.date_convertor time conversion error. String received: %s' % from_date)
        pass
    return converted_date
Returns a tuple of sockets connected to the pty (stdin,stdout,stderr).
dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/libraries/adlibre/date_converter.py/str_date_to_couch--crossover with--dataset/ETHPy150Open d11wtq/dockerpty/dockerpty/pty.py/RunOperation.sockets