def parse_graduation_date(date):
    """ Parses graduation date string generated by frontend into suitable format

        Parameters
        ----------
        date : str
            string of user inputted graduation date.

        Returns
        -------
        string
            string of graduation date only with Month and Year.
    """

    date_splitted = date.split("-")
    year = date_splitted[0]
    month = date_splitted[1]
    months = {
        "01": "January",
        "02": "February",
        "03": "March",
        "04": "April",
        "05": "May",
        "06": "June",
        "07": "July",
        "08": "August",
        "09": "September",
        "10": "October",
        "11": "November",
        "12": "December"
    }

    return months[month] + " " + year