

def hours_in_month(month=None, year=None):
    now = datetime.now()
    if (not month):
        month = now.month
    if (not year):
        year = now.year
    days_in_month = calendar.monthrange(year, now)[1]
    return (24 * days_in_month)

dataset/ETHPy150Open opennode/nodeconductor/nodeconductor/core/utils.py hours_in_month/VarMisuse@62/74 `month`->`now`