Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ntn): curricula date filtering #454

Merged
merged 2 commits into from
Jun 21, 2024
Merged

fix(ntn): curricula date filtering #454

merged 2 commits into from
Jun 21, 2024

Conversation

Judge40
Copy link
Contributor

@Judge40 Judge40 commented Jun 21, 2024

fix(ntn): include curricula starting/ending today

The start and end date checks for curricula incorrect filter out
curricula that are starting or ending on the given day.
Update the NtnGenerator to check date equality as well as before/after.

TIS21-6175
TIS21-6182


fix(ntn): calculate for future programmes

The NTN should be calculated for future programme memberships, using the
start date as a filter.
i.e. the NTN will only consider curricula which start, or have somehow
started, on the day the programme starts for that trainee.

TIS21-6175
TIS21-6182

The start and end date checks for curricula incorrect filter out
curricula that are starting or ending on the given day.
Update the NtnGenerator to check date equality as well as before/after.

TIS21-6175
TIS21-6182
The NTN should be calculated for future programme memberships, using the
start date as a filter.
i.e. the NTN will only consider curricula which start, or have somehow
started, on the day the programme starts for that trainee.

TIS21-6175
TIS21-6182
@Judge40 Judge40 requested a review from a team June 21, 2024 13:09
@Judge40 Judge40 enabled auto-merge June 21, 2024 13:09
Copy link

sonarcloud bot commented Jun 21, 2024

@Judge40 Judge40 merged commit 26227ac into main Jun 21, 2024
3 checks passed
@Judge40 Judge40 deleted the feat/generateNtn branch June 21, 2024 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants