issue-77 #105

Merged
sebastian merged 17 commits from issue-77 into master 2024-03-16 10:12:35 +01:00
Showing only changes of commit 59ee88b5fe - Show all commits

View File

@ -27,9 +27,10 @@ public class TaskSeriesService {
return ServiceExitCode.INVALID_PARAMETER;
}
rootTask.setTaskName(rootTask.getTaskName().replace("${i}", convertIndexToString(1)));
LocalDate currentTaskDate = rootTask.getStartDate().plusDays(taskRepeatInfo.getOffset());
TaskSerie taskSerie = new TaskSerie();
int index = 1;
int index = 2;
while(currentTaskDate.isBefore(taskRepeatInfo.getEndingDate())) {
Task task = Task.cloneTask(rootTask);
task.setStartDate(currentTaskDate);