@eeplatform/basic-edu 1.10.32 → 1.10.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @eeplatform/basic-edu
2
2
 
3
+ ## 1.10.34
4
+
5
+ ### Patch Changes
6
+
7
+ - c4d71b8: Fix learner model
8
+
9
+ ## 1.10.33
10
+
11
+ ### Patch Changes
12
+
13
+ - aa68481: Fix updateStatusById
14
+
3
15
  ## 1.10.32
4
16
 
5
17
  ### Patch Changes
package/dist/index.js CHANGED
@@ -5643,6 +5643,7 @@ function useEnrollmentService() {
5643
5643
  enrollment.seniorHighInfo.strand = enrollment.seniorHighInfo?.strand?.toString();
5644
5644
  }
5645
5645
  enrollment.status = "active";
5646
+ enrollment.learnerInfo.birthDate = enrollment.learnerInfo.birthDate ? new Date(enrollment.learnerInfo.birthDate).toLocaleDateString("en-GB").replace(/\//g, "-") : "";
5646
5647
  await addLearner(enrollment, session);
5647
5648
  }
5648
5649
  const programScreening = await getByApplicantId(_id);