def parse_month(month) -> int:
    """ Parse string month to a number 1-12 """
    map = {
        'jan': 1,
        'feb': 2,
        'mar': 3,
        'apr': 4,
        'may': 5,
        'jun': 6,
        'jul': 7,
        'aug': 8,
        'sep': 9,
        'oct': 10,
        'nov': 11,
        'dec': 12,

        'sept': 9,

        'january': 1,
        'february': 2,
        'march': 3,
        'april': 4,
        'june': 6,
        'july': 7,
        'august': 8,
        'september': 9,
        'october': 10,
        'november': 11,
        'december': 12
    }

    k = str(month).lower()
    if k in map:
        return map[k]

    return int(month)