def compact_date(date):
    """
    Converts an ISO 8601 format date string into a compact date.

    Parameters
    ----------
    Date: a string date in iso format.

    Returns
    ----------
    A string date without hyphens.

    """
    return date.replace('-', '')