@sunbird-cb/utils-v2 0.0.17 → 0.0.18

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.
@@ -2095,6 +2095,8 @@ var EventService = (function () {
2095
2095
  var isEventLive_1 = false;
2096
2096
  var isEventRecording_1 = false;
2097
2097
  Object.keys(data_1).forEach((function (index) {
2098
+ isEventRecording_1 = false;
2099
+ isEventLive_1 = false;
2098
2100
  var obj = data_1[index];
2099
2101
  var floor = Math.floor;
2100
2102
  var hours = floor(obj.duration / 60);
@@ -2118,6 +2120,7 @@ var EventService = (function () {
2118
2120
  var now = new Date();
2119
2121
  var today = moment(now).format('YYYY-MM-DD HH:mm');
2120
2122
  if (moment(today).isBetween(eventDate, eventendDate)) {
2123
+ debugger;
2121
2124
  isEventRecording_1 = false;
2122
2125
  isEventLive_1 = true;
2123
2126
  if (today >= eventendDate) {