Skip to content

Commit

Permalink
#452: Set endDate time 1 sec before midnight, to include the last stu…
Browse files Browse the repository at this point in the history
…dy date for observations.
  • Loading branch information
bnitsch committed May 27, 2024
1 parent faf77b8 commit 60ba72f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
previewCount.value = undefined;
const endDate = new Date(studyStore.study.plannedEnd as string);
endDate.setHours(0, 0, 0);
endDate.setHours(23, 59, 59);
returnRrule.value.until = endDate.toISOString();
}
break;
Expand Down

0 comments on commit 60ba72f

Please sign in to comment.