def parse_date_delta(value):
    """
    like parse_date, but also handle delta seconds
    """
    if not value:
        return None
    try:
        value = int(value)
    except __HOLE__:
        return parse_date(value)
    else:
        return _now() + timedelta(seconds=value)
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/webob-1.1.1/webob/datetime_utils.py/parse_date_delta