weights being calculated using timedelta objects