richie-education 2.20.0 → 2.20.1

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.
@@ -547,10 +547,11 @@ describe('CourseProductCourseRuns', () => {
547
547
  const today = new Date();
548
548
  const startDate = new Date(enrollment.course_run.start);
549
549
  const endDate = new Date(enrollment.course_run.end);
550
- startDate.setMonth(today.getMonth() + 2);
550
+
551
+ startDate.setDate(today.getDate());
552
+ // keep this before setMonth If the month of today is >= November
551
553
  startDate.setFullYear(today.getFullYear());
552
- endDate.setMonth(today.getMonth() + 4);
553
- endDate.setFullYear(today.getFullYear());
554
+ startDate.setMonth(today.getMonth() + 2);
554
555
 
555
556
  const newEnrollment = {
556
557
  ...enrollment,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "richie-education",
3
- "version": "2.20.0",
3
+ "version": "2.20.1",
4
4
  "description": "A CMS to build learning portals for Open Education",
5
5
  "main": "sandbox/manage.py",
6
6
  "scripts": {
@@ -228,6 +228,7 @@ $course-glimpse-content-padding-sides: 0.7rem !default;
228
228
  }
229
229
 
230
230
  .icon {
231
+ fill: currentColor;
231
232
  margin-bottom: 0.15rem;
232
233
  margin-right: 0.5rem;
233
234
  }