(value)
return datetime_seconds_ago(timeparse.timeparse(value))
Return the :class:`datetime.datetime.DateTime` for a time in the past.

    :param value: a string containing a time format supported by
    mod:`pytimeparse`
Return the :class:`datetime.datetime.DateTime` for a time in the past.
Return the : class : datetime . datetime . DateTime for a time in the past .
def timedelta_type(value):
    """Return the :class:`datetime.datetime.DateTime` for a time in the past.

    :param value: a string containing a time format supported by
    mod:`pytimeparse`
    """
    if value is None:
        return None
    return datetime_seconds_ago(timeparse.timeparse(value))
def timedelta_type ( value ) : if value is None : return None return datetime_seconds_ago ( timeparse . timeparse ( value ) )