Pass the delta to timedelta_to_seconds