assertions.like: tweaked source of `__timedelta_to_seconds`