def date_to_datestr(date):
    """Converts datetime.date object with format '%Y-%m-%d' into corresponding date string with format 'YYYY-MM-DD'.

    Parameters
    ----------
    date : datetime.date

    Returns
    -------
    str
        string containing the date in format "YYYY-MM-DD"

    """
    return str(date)
