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

Grad2-2551 optional program completion date issue fixed #528

Conversation

githubmamatha
Copy link
Contributor

Optional program completion date is set to today's date.

getGradDate(ruleProcessorData.getStudentCourses(), ruleProcessorData.getStudentAssessments()));
}

String result = new SimpleDateFormat(DEFAULT_DATE_FORMAT).format(gradDate);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Mamatha, you can just instantiate the Date object in the format method for less code. Just change to: String result = new SimpleDateFormat(DEFAULT_DATE_FORMAT).format(new Date());

Copy link

sonarcloud bot commented Apr 18, 2024

@cditcher cditcher merged commit 814c041 into grad-release Apr 18, 2024
3 checks passed
@cditcher cditcher deleted the Grad2-2551OPCompletiondateSetToStudentProgramCompletionDate branch April 18, 2024 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants