@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.
@@ -2304,6 +2304,8 @@
2304
2304
  var isEventLive_1 = false;
2305
2305
  var isEventRecording_1 = false;
2306
2306
  Object.keys(data_1).forEach((function (index) {
2307
+ isEventRecording_1 = false;
2308
+ isEventLive_1 = false;
2307
2309
  var obj = data_1[index];
2308
2310
  var floor = Math.floor;
2309
2311
  var hours = floor(obj.duration / 60);
@@ -2327,6 +2329,7 @@
2327
2329
  var now = new Date();
2328
2330
  var today = moment(now).format('YYYY-MM-DD HH:mm');
2329
2331
  if (moment(today).isBetween(eventDate, eventendDate)) {
2332
+ debugger;
2330
2333
  isEventRecording_1 = false;
2331
2334
  isEventLive_1 = true;
2332
2335
  if (today >= eventendDate) {