@eeplatform/basic-edu 1.10.33 → 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 +6 -0
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -5643,9 +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(
|
|
5647
|
-
"en-GB"
|
|
5648
|
-
) : "";
|
|
5646
|
+
enrollment.learnerInfo.birthDate = enrollment.learnerInfo.birthDate ? new Date(enrollment.learnerInfo.birthDate).toLocaleDateString("en-GB").replace(/\//g, "-") : "";
|
|
5649
5647
|
await addLearner(enrollment, session);
|
|
5650
5648
|
}
|
|
5651
5649
|
const programScreening = await getByApplicantId(_id);
|