@datarailsshared/dr_renderer 1.2.290 → 1.2.292
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/package.json
CHANGED
@@ -8326,8 +8326,8 @@ let getHighchartsRenderer = function ($, document, Highcharts, default_colors, h
|
|
8326
8326
|
break;
|
8327
8327
|
case 'quarter':
|
8328
8328
|
const utcDate = moment_lib.utc(initialDateString, format, true);
|
8329
|
-
range.val.fromdate = utcDate.startOf(timeframe).add(fiscalYearMonthsModifier, 'M').unix();
|
8330
|
-
range.val.todate = utcDate.endOf(timeframe).add(fiscalYearMonthsModifier, 'M').unix();
|
8329
|
+
range.val.fromdate = lodash.cloneDeep(utcDate).startOf(timeframe).add(fiscalYearMonthsModifier, 'M').unix();
|
8330
|
+
range.val.todate = lodash.cloneDeep(utcDate).endOf(timeframe).add(fiscalYearMonthsModifier, 'M').endOf('M').unix();
|
8331
8331
|
return range;
|
8332
8332
|
default:
|
8333
8333
|
return "";
|