feat(dal): templateDistributor теперь распределяет с учетом московского времени
This commit is contained in:
@@ -309,13 +309,13 @@ namespace PARR.DAL.NextRunServices
|
||||
public async Task<List<DateOnly>> GetWorkDaysAsync(DateOnly start, DateOnly end, bool excludeWeekends, DateTimeOffset referenceDate)
|
||||
{
|
||||
//return await templateDistributor.GetWorkDaysAsync(start, end, excludeWeekends);
|
||||
return await templateDistributor.GetWorkDaysTESTAsync(start, end, excludeWeekends, referenceDate);
|
||||
return await templateDistributor.GetWorkDaysV2Async(start, end, excludeWeekends, referenceDate);
|
||||
|
||||
}
|
||||
|
||||
public async Task<HashSet<DateOnly>> GetWeekendsAsync(DateOnly startDate, DateOnly endDate, DateTimeOffset referenceDate)
|
||||
{
|
||||
return await templateDistributor.GetWeekendsTESTAsync(startDate, endDate, referenceDate);
|
||||
return await templateDistributor.GetWeekendsV2Async(startDate, endDate, referenceDate);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user