Optimize weekdays_until algorithm: reduce calculation to basic arithmetic to speed up performance