FIX: Recurring events didn't show up on Sundays

FIX: Recurring events didn’t show up on Sundays

diff --git a/assets/javascripts/initializers/discourse-calendar.js.es6 b/assets/javascripts/initializers/discourse-calendar.js.es6
index c5b35e4..735cea8 100644
--- a/assets/javascripts/initializers/discourse-calendar.js.es6
+++ b/assets/javascripts/initializers/discourse-calendar.js.es6
@@ -257,7 +257,7 @@ function initializeDiscourseCalendar(api) {
         minutes: from.dateTime.minutes(),
         seconds: from.dateTime.seconds(),
       };
-      event.daysOfWeek = [from.dateTime.isoWeekday()];
+      event.daysOfWeek = [from.dateTime.day()];
     }
 
     return event;

GitHub sha: 236c8b6b

This commit appears in #62 which was approved by jjaffeux. It was merged by gschlager.