def extract_start_stop_from_month(month):
    """
    Extract the time range from the string specifying the month
    :param month: String containing the month. Should be 'x-x'
    :return: The start and and end value for the months. Note that stop will be end+1
    """
    tmp = month.split('-')
    if len(tmp) < 2 or tmp[0] == '' or tmp[-1] == '':
        return 1, 13
    start = int(tmp[0])
    stop = int(tmp[-1])
    if start > stop:
        start, stop = stop, start
    if start < 1:
        start = 1
    if start > 13:
        start = 13
    stop += 1
    if stop > 13:
        stop = 13
    if stop < 1:
        stop = 1
    return start, stop