-
Notifications
You must be signed in to change notification settings - Fork 14
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
#4052 - Fix the legacy program year totals for program year limits #4058
#4052 - Fix the legacy program year totals for program year limits #4058
Conversation
|
sequencedApplications.current.referenceAssessmentDate ?? | ||
options?.alternativeReferenceDate; | ||
// Convert the reference assessment date to an ISO date format. | ||
const formattedReferenceAssessmentDate = getISODateOnlyString( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor but the methods should receive as much as possible the Date as it is. Converting it to the ISO date is a concern for the method executing the query.
I do recognize the programYearStartDate
already receiving it as string because comes directly from typeorm date only.
Since the methods are private it would not be a blocker.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great analysis and investigation, look good 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Great job!
Merge Hotfix V2.1.1 to Main ## What's Changed * #4013 - Legacy Restriction Mapping - Migrations and SQL Changes by @andrewsignori-aot in #4037 * #4041 - Ignore Cancelled Legacy Applications on SIMS Validations and Calculations by @dheepak-aot in #4042 * #4013 - Legacy Restriction Mapping - Student Changes by @andrewsignori-aot in #4049 * #4052 - Fix the legacy program year totals for program year limits by @dheepak-aot in #4058 --------- Co-authored-by: Andrew Boni Signori <[email protected]> Co-authored-by: Dheepak Ramanathan <[email protected]>
Fix the legacy program year totals for program year limits
current date
as reference assessment date.