dce-reactkit 3.7.2-beta.1 → 3.7.3

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/dist/cjs/index.js CHANGED
@@ -1611,8 +1611,7 @@ const getTimeInfoInET = (dateOrTimestamp) => {
1611
1611
  d = dateOrTimestamp;
1612
1612
  }
1613
1613
  const str = d.toLocaleString('en-US', // Using US encoding (it's the only one installed on containers)
1614
- { timeZone: 'America/New_York' } // Force EST timezone
1615
- );
1614
+ { timeZone: 'America/New_York' });
1616
1615
  // Parse the string for the date/time info
1617
1616
  const [dateStr, timeStr] = str.split(', '); // Format: MM/DD/YYYY, HH:MM:SS AM
1618
1617
  const [monthStr, dayStr, yearStr] = dateStr.split('/'); // Format: MM/DD/YYYY
@@ -1623,7 +1622,7 @@ const getTimeInfoInET = (dateOrTimestamp) => {
1623
1622
  const month = Number.parseInt(monthStr, 10);
1624
1623
  const day = Number.parseInt(dayStr, 10);
1625
1624
  const minute = Number.parseInt(minStr, 10);
1626
- let hour12 = Number.parseInt(hourStr, 10);
1625
+ const hour12 = Number.parseInt(hourStr, 10);
1627
1626
  // Convert from am/pm to 24hr
1628
1627
  const isAM = ending.toLowerCase().includes('am');
1629
1628
  const isPM = !isAM;
@@ -42722,7 +42721,7 @@ const initLogCollection = (Collection) => {
42722
42721
  /* -------------------------------- Cache ------------------------------- */
42723
42722
  /*------------------------------------------------------------------------*/
42724
42723
  // Cache user's ability
42725
- let canReview = undefined;
42724
+ let canReview;
42726
42725
  /*------------------------------------------------------------------------*/
42727
42726
  /* -------------------------------- Main -------------------------------- */
42728
42727
  /*------------------------------------------------------------------------*/