def _get_time_interval_display(num_days):
    '''Gets a display string representing the interval.'''
    if num_days == 0:
        return "Today"
    elif num_days == 7:
        return "Last Week"
    elif num_days == 30:
        return "Last Month"
    elif num_days == 365:
        return "Last Year"
    elif num_days % 365 == 0:
        yrs = num_days / 365
        return "Last %s Years" % yrs
    elif num_days % 30 == 0:
        months = 30 / num_days
        return "Last %s Months" % months
    else:
        return "Last %s Days" % num_days
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/hqwebapp/templatetags/mainreport_tags.py/_get_time_interval_display/swapped operands of `/`