(date_string)
Takes a string ethiopian date and converts it to
    the equivalent gregorian date

    :param date_string: A date string that is in the format YYYY-MM-DD
    :returns: A gregorian datetime or ''
Takes a string ethiopian date and converts it to
    the equivalent gregorian date
Takes a string ethiopian date and converts it to the equivalent gregorian date
def get_ethiopian_to_gregorian(date_string):
    '''
    Takes a string ethiopian date and converts it to
    the equivalent gregorian date

    :param date_string: A date string that is in the format YYYY-MM-DD
    :returns: A gregorian datetime or ''
    '''
    if not date_string:
        return ''

    try:
        year, month, day = split_date_string(date_string)
    except ValueError:
        return ''

    try:
        return EthiopianDateConverter.to_gregorian(year, month, day)
    except Exception:
        return ''
def get_ethiopian_to_gregorian ( date_string ) : if not date_string : return '' try : year , month , day = split_date_string ( date_string ) except ValueError : return '' try : return EthiopianDateConverter . to_gregorian ( year , month , day ) except Exception : return ''