diff --git a/api/src/main/java/ca/bc/gov/educ/api/ruleengine/rule/MatchCreditsRule.java b/api/src/main/java/ca/bc/gov/educ/api/ruleengine/rule/MatchCreditsRule.java index 5a2fb91..860a3a5 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/ruleengine/rule/MatchCreditsRule.java +++ b/api/src/main/java/ca/bc/gov/educ/api/ruleengine/rule/MatchCreditsRule.java @@ -140,7 +140,7 @@ public void splitSortStudentCourses(List studentCourses, Date adu String courseSessionDate = sc.getSessionDate() + "/01"; Date temp = null; try { - temp = toLastDayOfMonth(RuleEngineApiUtils.parseDate(courseSessionDate, "yyyy/MM/dd")); + temp = RuleEngineApiUtils.parseDate(courseSessionDate, "yyyy/MM/dd"); } catch (ParseException e) { logger.debug(e.getMessage()); } diff --git a/api/src/main/java/ca/bc/gov/educ/api/ruleengine/rule/MinAdultCoursesRule.java b/api/src/main/java/ca/bc/gov/educ/api/ruleengine/rule/MinAdultCoursesRule.java index 229001b..8346215 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/ruleengine/rule/MinAdultCoursesRule.java +++ b/api/src/main/java/ca/bc/gov/educ/api/ruleengine/rule/MinAdultCoursesRule.java @@ -137,7 +137,7 @@ public RuleData fire() { String courseSessionDate = sc.getSessionDate() + "/01"; Date temp = null; try { - temp = toLastDayOfMonth(RuleEngineApiUtils.parseDate(courseSessionDate, "yyyy/MM/dd")); + temp = RuleEngineApiUtils.parseDate(courseSessionDate, "yyyy/MM/dd"); } catch (ParseException e) { logger.debug(e.getMessage()); }