def enddate(request):
    day = request.args.get('day')
    week = request.args.get('week')
    if isday(day):
        return get_day(day) + timedelta(days=1)
    elif isday(week):
        return week_end(get_day(week))
    return None
dataset/ETHPy150Open mozilla/standup/standup/apps/status/helpers.py/enddate/original