Skip to content

Commit

Permalink
Fixed date formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
chris.ditcher authored and chris.ditcher committed Mar 26, 2024
1 parent a918232 commit 792d154
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ private String getResponse(GraduationStudentRecordGradStatus graduationStudentRe
GradStatusPayload gradStatusPayload = GradStatusPayload.builder()
.program(graduationStudentRecord.getProgram())
.programCompletionDate(
EducGradStudentApiUtils.parseDateFromString(graduationStudentRecord.getProgramCompletionDate() != null ?
EducGradStudentApiUtils.formatDate(graduationStudentRecord.getProgramCompletionDate()) : null))
graduationStudentRecord.getProgramCompletionDate() != null ?
EducGradStudentApiUtils.formatDate(graduationStudentRecord.getProgramCompletionDate()) : null)
.build();
return JsonUtil.getJsonStringFromObject(gradStatusPayload);
}
Expand Down

0 comments on commit 792d154

Please sign in to comment.